diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-03 07:23:57 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-03 07:23:57 -0800 |
| commit | 8eebaf8cee812bd07d8d890040e403bacb1777fb (patch) | |
| tree | 2991267489e3387e1c36a718a54b35fa2b695937 /flake | |
| parent | fix remote script (diff) | |
| download | infra-8eebaf8cee812bd07d8d890040e403bacb1777fb.tar.gz | |
consolidate all modules under modules/
Diffstat (limited to 'flake')
| -rw-r--r-- | flake/hosts.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix index df19f45..2a3f062 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -71,15 +71,14 @@ let inputs.agenix.nixosModules.age inputs.disko.nixosModules.disko inputs.home-manager.nixosModules.home-manager - "${self}/modules/common" - "${self}/modules/nixos" + ../modules/default.nix ]; darwinDefaultModules = [ nixSettings inputs.agenix.darwinModules.age inputs.home-manager.darwinModules.home-manager - "${self}/modules/common" + ../modules/default-darwin.nix ]; darwinConfigurations = mapAttrs' ( @@ -124,7 +123,7 @@ let } ); } - ) (mapMacs (mapSystems "${self}/machines/darwin")); + ) (mapMacs (mapSystems ../machines/darwin)); nixosConfigurations = mapAttrs' ( name: conf: @@ -174,7 +173,7 @@ let } ); } - ) (mapHosts (mapSystems "${self}/machines/nixos")); + ) (mapHosts (mapSystems ../machines/nixos)); in { flake = { |
