diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -30,15 +30,18 @@ outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations = - let mkConfig = config: nixpkgs.lib.nixosSystem { + let mkConfig = imports: config: nixpkgs.lib.nixosSystem { system = "x86_64-linux"; - modules = [ config ./common/default.nix ]; + modules = [ config ] ++ imports; specialArgs = { inherit inputs; }; }; + mkServer = mkConfig [ ./common/headless.nix ]; + mkDesktop = mkConfig [ ./common/desktop.nix ]; in { - chaski = mkConfig ./hosts/chaski/configuration.nix; - flora = mkConfig ./hosts/flora/configuration.nix; + chaski = mkServer ./hosts/chaski/configuration.nix; + flora = mkServer ./hosts/flora/configuration.nix; + abbenay = mkDesktop ./hosts/abbenay/configuration.nix; }; }; } |