test
This commit is contained in:
parent
858da47298
commit
d469331d3b
1 changed files with 15 additions and 13 deletions
|
@ -45,23 +45,25 @@
|
||||||
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; };
|
||||||
pkgs = import inputs.${repo} {
|
let
|
||||||
inherit system;
|
pkgs = import inputs.${repo} {
|
||||||
config.allowUnfree = unfree;
|
inherit system;
|
||||||
hostPlatform = system;
|
config.allowUnfree = unfree;
|
||||||
};
|
hostPlatform = system;
|
||||||
unstable-pkgs = import inputs.nixpkgs-unstable {
|
};
|
||||||
inherit system;
|
unstable-pkgs = import inputs.nixpkgs-unstable {
|
||||||
config.allowUnfree = unfree;
|
inherit system;
|
||||||
hostPlatform = system;
|
config.allowUnfree = unfree;
|
||||||
};
|
hostPlatform = system;
|
||||||
|
};
|
||||||
modules = [
|
in {
|
||||||
|
modules = [
|
||||||
# Types are 'default', 'small', and 'minimal'
|
# Types are 'default', 'small', and 'minimal'
|
||||||
../nixos/${type}.nix
|
../nixos/${type}.nix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
];
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Combines mkHost and mkHome for image building
|
# Combines mkHost and mkHome for image building
|
||||||
|
|
Loading…
Reference in a new issue