refactor: home modules

This commit is contained in:
Ryan Yin
2024-03-13 13:32:13 +08:00
parent 5234fd7279
commit 093866a2aa
8 changed files with 32 additions and 27 deletions

View File

@@ -20,7 +20,7 @@
# host specific
"hosts/12kingdoms-${name}"
];
home-module.imports = map mylib.relativeToRoot [
home-modules = map mylib.relativeToRoot [
# common
"home/linux/desktop.nix"
# host specific
@@ -38,11 +38,11 @@
}
]
++ base-modules.nixos-modules;
home-module.imports =
home-modules =
[
{modules.desktop.i3.enable = true;}
]
++ base-modules.home-module.imports;
++ base-modules.home-modules;
};
modules-hyprland = {
@@ -55,11 +55,11 @@
}
]
++ base-modules.nixos-modules;
home-module.imports =
home-modules =
[
{modules.desktop.hyprland.enable = true;}
]
++ base-modules.home-module.imports;
++ base-modules.home-modules;
};
in {
nixosConfigurations = {