test
This commit is contained in:
parent
a318c9ea44
commit
7c3670102d
1 changed files with 9 additions and 17 deletions
|
@ -43,28 +43,20 @@
|
||||||
type ? "default",
|
type ? "default",
|
||||||
repo ? "nixpkgs",
|
repo ? "nixpkgs",
|
||||||
unfree ? false
|
unfree ? false
|
||||||
}:
|
}: inputs.${repo}.lib.nixosSystem {
|
||||||
let
|
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
|
||||||
pkgs = import inputs.${repo} {
|
pkgs = import inputs.${repo} {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = unfree;
|
config.allowUnfree = unfree;
|
||||||
hostPlatform = system;
|
hostPlatform = system;
|
||||||
};
|
};
|
||||||
unstable-pkgs = import inputs.nixpkgs-unstable {
|
|
||||||
inherit system;
|
modules = [
|
||||||
config.allowUnfree = unfree;
|
# Types are 'default', 'small', and 'minimal'
|
||||||
hostPlatform = system;
|
../nixos/${type}.nix
|
||||||
};
|
inputs.sops-nix.nixosModules.sops
|
||||||
in {
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
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
|
|
||||||
inputs.sops-nix.nixosModules.sops
|
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Combines mkHost and mkHome for image building
|
# Combines mkHost and mkHome for image building
|
||||||
|
|
Loading…
Reference in a new issue