oops, forgot to add it to flake.nix

This commit is contained in:
Lyn 2024-10-16 17:04:21 +02:00
parent 955f7d1131
commit a03162b769

View file

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