diff --git a/flake.nix b/flake.nix index a3581ac..f1c2393 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,7 @@ }); inherit (nixpkgs) lib; mkLocalMods = import ./meta/mkLocalMods.nix {inherit lib;}; + mkLocalModsInput = (mkLocalMods {prefix = ["lyn"]; dir = ./modules;}) in { nixosConfigurations = { "forgenite" = nixpkgs.lib.nixosSystem { @@ -27,8 +28,7 @@ modules = [ ./hosts/forgenite sops-nix.nixosModules.sops - passInputs - (mkLocalMods {prefix = ["lyn"]; dir = ./modules;}) + passInputs mkLocalModsInput ]; }; "forgejo-ci" = nixpkgs.lib.nixosSystem { @@ -36,8 +36,14 @@ modules = [ ./hosts/forgejo-ci sops-nix.nixosModules.sops - passInputs - (mkLocalMods {prefix = ["lyn"]; dir = ./modules;}) + passInputs mkLocalModsInput + ]; + "supernova" = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./hosts/supernova + sops-nix.nixosModules.sops + passInputs mkLocalModsInput ]; }; };