diff --git a/flake.nix b/flake.nix index fd9aa27f..f2d944e2 100644 --- a/flake.nix +++ b/flake.nix @@ -64,12 +64,20 @@ mkHostConfig = host: import ./system (inputs // {conf = importHostConf host;}); in { - nixosConfigurations = builtins.listToAttrs ( - map (host: { - name = host; - value = (mkHostConfig host).build; - }) + nixosConfigurations = builtins.listToAttrs (lib.flatten ( + map (host: let + conf = mkHostConfig host; + in [ + { + name = host; + value = conf.full; + } + { + name = "${host}-base"; + value = conf.base; + } + ]) hosts - ); + )); }; }