From 14ae2a1b53f0996f7f31d738ef45c361c27d092b Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 9 Feb 2024 22:41:39 +0900 Subject: [PATCH] test --- lib/default.nix | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 111354fe..8c1a6e43 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -44,26 +44,25 @@ repo ? "nixpkgs", unfree ? false }: inputs.${repo}.lib.nixosSystem { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; + specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; - modules = let - pkgs = import inputs.${repo} { - inherit system; - config.allowUnfree = unfree; - hostPlatform = system; - }; - unstable-pkgs = import inputs.nixpkgs-unstable { - inherit system; - config.allowUnfree = unfree; - hostPlatform = system; - }; - in [ - # Types are 'default', 'small', and 'minimal' - ../nixos/${type}.nix - inputs.sops-nix.nixosModules.sops - inputs.lanzaboote.nixosModules.lanzaboote - ]; - }; + modules = let + pkgs = import inputs.${repo} { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; + unstable-pkgs = import inputs.nixpkgs-unstable { + inherit system; + config.allowUnfree = unfree; + hostPlatform = system; + }; + in [ + # Types are 'default', 'small', and 'minimal' + ../nixos/${type}.nix + inputs.sops-nix.nixosModules.sops + inputs.lanzaboote.nixosModules.lanzaboote + ]; }; # Combines mkHost and mkHome for image building