feat: align workspace navigation with relocated projects

Use ~/yookr/projects for company repositories and ~/projects for personal groups. Add the company-root Walker entry, apply work Git identity below ~/yookr, and remove Bruno synchronization.

Filesystem relocation was previously completed on Zenith only; other hosts require their own relocation before adopting these shared paths.
This commit is contained in:
kiri committed 2026-09-09 17:32:08 +02:00
1 parent d81a59b9cb
commit 5dd1d2b296
4 files changed
+19 -16

No files matched your search

+1 -1
View File
@@ -175,7 +175,7 @@
download = "${homeDir}/downloads";
documents = "${homeDir}/documents";
projects = "${homeDir}/dev";
projects = "${homeDir}/projects";
music = "${mediaDir}/music";
pictures = "${mediaDir}/images";
videos = "${mediaDir}/videos";
+1 -1
View File
@@ -79,7 +79,7 @@ in
contents = personal.git;
}
{
condition = "gitdir:${config.xdg.userDirs.projects}/work/";
condition = "gitdir:${config.home.homeDirectory}/yookr/";
contents = work.git;
}
{
-9
View File
@@ -41,15 +41,6 @@ in
devices = builtins.attrNames syncDevices;
ignorePatterns = [ "**/.zk" ];
};
bruno = {
path =
if config.facts.machine.name == "orion" then
"${config.home.homeDirectory}/bruno"
else
"${config.xdg.userDirs.projects}/bruno";
label = "bruno";
devices = builtins.attrNames syncDevices;
};
};
devices = syncDevices;
};
+17 -5
View File
@@ -24,14 +24,19 @@
}:
let
homeDir = config.home.homeDirectory;
projectRoots =
projectRoots = [
{
scope = "work";
path = "${homeDir}/yookr/projects";
}
]
++
map
(scope: {
inherit scope;
path = "${homeDir}/dev/${scope}";
path = "${config.xdg.userDirs.projects}/${scope}";
})
[
"work"
"own"
"ext"
"forks"
@@ -67,7 +72,7 @@
xdg.configFile."elephant/menus/projects.lua".text = ''
Name = "projects"
NamePretty = "Projects"
Description = "Git repositories"
Description = "Projects and workspaces"
Icon = "folder"
Action = "${lib.getExe openProject}"
SearchName = true
@@ -90,7 +95,14 @@
end
function GetEntries()
local entries = {}
local entries = {
{
Text = "Yookr",
Subtext = "Company workspace",
Value = "${homeDir}/yookr",
Keywords = { "work", "company", "workbench" },
},
}
for _, root in ipairs(roots) do
local handle = repositories(root.path)