diff options
| -rw-r--r-- | flake/hosts.nix | 6 | ||||
| -rw-r--r-- | modules/common/default.nix | 7 | ||||
| -rw-r--r-- | modules/common/home.nix (renamed from modules/home.nix) | 0 | ||||
| -rw-r--r-- | modules/common/host-config.nix (renamed from modules/host-config.nix) | 0 |
4 files changed, 9 insertions, 4 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix index e02ff2d..c194440 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -58,8 +58,7 @@ let inputs.agenix.nixosModules.age inputs.disko.nixosModules.disko inputs.home-manager.nixosModules.home-manager - "${self}/modules/home.nix" - "${self}/modules/host-config.nix" + "${self}/modules/common" "${self}/modules/nas-client.nix" "${self}/modules/backups.nix" ]; @@ -68,8 +67,7 @@ let nixSettings inputs.agenix.darwinModules.age inputs.home-manager.darwinModules.home-manager - "${self}/modules/home.nix" - "${self}/modules/host-config.nix" + "${self}/modules/common" ]; darwinConfigurations = mapAttrs' ( diff --git a/modules/common/default.nix b/modules/common/default.nix new file mode 100644 index 0000000..b42a079 --- /dev/null +++ b/modules/common/default.nix @@ -0,0 +1,7 @@ +{ ... }: +{ + imports = [ + ./home.nix + ./host-config.nix + ]; +} diff --git a/modules/home.nix b/modules/common/home.nix index 6b6b518..6b6b518 100644 --- a/modules/home.nix +++ b/modules/common/home.nix diff --git a/modules/host-config.nix b/modules/common/host-config.nix index b10d85f..b10d85f 100644 --- a/modules/host-config.nix +++ b/modules/common/host-config.nix |
