refactor(home): consolidate host home modules under home/hosts

This commit is contained in:
Ryan Yin committed 2026-03-23 12:38:55 +08:00
1 parent cf7b5a5be7
commit 8207ccbdff
22 files changed
+59 -47

No files matched your search

@@ -36,19 +36,9 @@ let
modules.desktop.gaming.enable = false;
}
];
home-modules =
(map mylib.relativeToRoot [
# common
"home/linux/gui.nix"
# host specific
"home/linux/hosts/12kingdoms-${name}.nix"
])
++ [
{
# not supported yet
modules.desktop.gaming.enable = false;
}
];
home-modules = map mylib.relativeToRoot [
"home/hosts/linux/12kingdoms-${name}.nix"
];
};
modules-niri = {
@@ -56,10 +46,7 @@ let
{ programs.niri.enable = true; }
]
++ base-modules.nixos-modules;
home-modules = [
{ modules.desktop.niri.enable = true; }
]
++ base-modules.home-modules;
home-modules = base-modules.home-modules;
};
in
{