From a03162b769953fa908d91618901e5c752a2403fe Mon Sep 17 00:00:00 2001 From: Lyn Date: Wed, 16 Oct 2024 17:04:21 +0200 Subject: [PATCH] oops, forgot to add it to flake.nix --- flake.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 ]; }; };