From 6be1a4a516b300b5e2ae725e5aff61ac0a2b640a Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 9 Feb 2024 22:59:27 +0900 Subject: [PATCH] test --- lib/default.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 6399418b..58321af1 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -32,7 +32,7 @@ ]; }; - # Helper function for generating host configs + # Helper function for generating host configs mkHost = { hostname, username ? "albert", @@ -43,9 +43,8 @@ type ? "default", repo ? "nixpkgs", unfree ? false - }: - inputs.${repo}.lib.nixosSystem { - specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; + }:inputs.${repo}.lib.nixosSystem { + specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; pkgs = import inputs.${repo} { inherit system; @@ -59,13 +58,12 @@ hostPlatform = system; }; - modules = [ - # Types are 'default', 'small', and 'minimal' - ../nixos/${type}.nix - inputs.sops-nix.nixosModules.sops - inputs.lanzaboote.nixosModules.lanzaboote - ]; - }; + modules = [ + # 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