refactor(home): move host home-manager configs out of hosts

This commit is contained in:
Ryan Yin
2026-03-23 10:49:17 +08:00
parent 8b4e922e5b
commit cf7b5a5be7
17 changed files with 19 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ let
];
home-modules = map mylib.relativeToRoot [
"hosts/darwin-${name}/home.nix"
"home/darwin/hosts/darwin-${name}.nix"
"home/darwin"
];
};

View File

@@ -28,7 +28,7 @@ let
}
];
home-modules = map mylib.relativeToRoot [
"hosts/darwin-${name}/home.nix"
"home/darwin/hosts/darwin-${name}.nix"
"home/darwin"
];
};

View File

@@ -41,7 +41,7 @@ let
# common
"home/linux/gui.nix"
# host specific
"hosts/12kingdoms-${name}/home.nix"
"home/linux/hosts/12kingdoms-${name}.nix"
])
++ [
{

View File

@@ -41,7 +41,7 @@ let
# common
"home/linux/gui.nix"
# host specific
"hosts/idols-${name}/home.nix"
"home/linux/hosts/idols-${name}.nix"
])
++ [
{

View File

@@ -36,7 +36,7 @@ let
{ modules.secrets.server.storage.enable = true; }
];
home-modules = map mylib.relativeToRoot [
"home/linux/tui.nix"
"home/linux/hosts/idols-${name}.nix"
];
};

View File

@@ -33,7 +33,7 @@ let
];
home-modules = map mylib.relativeToRoot [
# host specific
"hosts/idols-${name}/home.nix"
"home/linux/hosts/idols-${name}.nix"
];
};

View File

@@ -33,7 +33,7 @@ let
];
home-modules = map mylib.relativeToRoot [
# host specific
"hosts/idols-${name}/home.nix"
"home/linux/hosts/idols-${name}.nix"
];
};