test
This commit is contained in:
parent
85c7f764f7
commit
229fbcce7c
1 changed files with 10 additions and 10 deletions
|
@ -43,21 +43,20 @@
|
|||
type ? "default",
|
||||
repo ? "nixpkgs",
|
||||
unfree ? false
|
||||
}: 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;
|
||||
};
|
||||
|
||||
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,6 +64,7 @@
|
|||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Combines mkHost and mkHome for image building
|
||||
mkImage = {
|
||||
|
|
Loading…
Reference in a new issue