This commit is contained in:
iFargle 2024-02-09 22:05:08 +09:00
parent 858da47298
commit d469331d3b

View file

@ -45,6 +45,7 @@
unfree ? false unfree ? false
}: inputs.${repo}.lib.nixosSystem { }: 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; };
let
pkgs = import inputs.${repo} { pkgs = import inputs.${repo} {
inherit system; inherit system;
config.allowUnfree = unfree; config.allowUnfree = unfree;
@ -55,7 +56,7 @@
config.allowUnfree = unfree; config.allowUnfree = unfree;
hostPlatform = system; hostPlatform = system;
}; };
in {
modules = [ modules = [
# Types are 'default', 'small', and 'minimal' # Types are 'default', 'small', and 'minimal'
../nixos/${type}.nix ../nixos/${type}.nix
@ -63,6 +64,7 @@
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
]; ];
}; };
};
# Combines mkHost and mkHome for image building # Combines mkHost and mkHome for image building
mkImage = { mkImage = {