This commit is contained in:
iFargle 2024-02-09 22:09:38 +09:00
parent a318c9ea44
commit 7c3670102d

View file

@ -43,21 +43,14 @@
type ? "default",
repo ? "nixpkgs",
unfree ? false
}:
let
}: inputs.${repo}.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
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 {
inputs.${repo}.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
modules = [
# Types are 'default', 'small', and 'minimal'
../nixos/${type}.nix
@ -65,7 +58,6 @@
inputs.lanzaboote.nixosModules.lanzaboote
];
};
};
# Combines mkHost and mkHome for image building
mkImage = {