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