mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-21 16:31:22 +02:00
refactor(home): consolidate host home modules under home/hosts
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user