mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 10:18:37 +02:00
refactor(home): move host home-manager configs out of hosts
This commit is contained in:
@@ -29,7 +29,7 @@ let
|
||||
];
|
||||
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
"hosts/darwin-${name}/home.nix"
|
||||
"home/darwin/hosts/darwin-${name}.nix"
|
||||
"home/darwin"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ let
|
||||
}
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
"hosts/darwin-${name}/home.nix"
|
||||
"home/darwin/hosts/darwin-${name}.nix"
|
||||
"home/darwin"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -41,7 +41,7 @@ let
|
||||
# common
|
||||
"home/linux/gui.nix"
|
||||
# host specific
|
||||
"hosts/12kingdoms-${name}/home.nix"
|
||||
"home/linux/hosts/12kingdoms-${name}.nix"
|
||||
])
|
||||
++ [
|
||||
{
|
||||
|
||||
@@ -41,7 +41,7 @@ let
|
||||
# common
|
||||
"home/linux/gui.nix"
|
||||
# host specific
|
||||
"hosts/idols-${name}/home.nix"
|
||||
"home/linux/hosts/idols-${name}.nix"
|
||||
])
|
||||
++ [
|
||||
{
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ let
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
# host specific
|
||||
"hosts/idols-${name}/home.nix"
|
||||
"home/linux/hosts/idols-${name}.nix"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ let
|
||||
];
|
||||
home-modules = map mylib.relativeToRoot [
|
||||
# host specific
|
||||
"hosts/idols-${name}/home.nix"
|
||||
"home/linux/hosts/idols-${name}.nix"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user