diff --git a/flake.nix b/flake.nix index 21a3645..b5f59d4 100644 --- a/flake.nix +++ b/flake.nix @@ -9,8 +9,12 @@ nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; }; outputs = {self, nixpkgs, nixpkgs-unstable, sops-nix, lanzaboote, microvm}@inputs: let - imports = [ - ]; + imports = { imports = [ + sops-nix.nixosModules.sops + passInputs mkLocalModsInput + lanzaboote.nixosModules.lanzaboote + inputs.microvm.nixosModules.host + ];}; passInputs = ({lib,config,...}:{ options.flakePath = lib.mkOption {type = lib.types.path;}; config.flakePath = ./.; @@ -30,26 +34,22 @@ system = "x86_64-linux"; modules = [ ./hosts/forgenite - sops-nix.nixosModules.sops - passInputs mkLocalModsInput - ]; + imports + ]; }; "forgejo-ci" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./hosts/forgejo-ci - sops-nix.nixosModules.sops - passInputs mkLocalModsInput - ]; + imports + ]; }; "supernova" = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./hosts/supernova - sops-nix.nixosModules.sops - passInputs mkLocalModsInput - lanzaboote.nixosModules.lanzaboote - ]; + imports + ]; }; }; };