test
This commit is contained in:
parent
f5c9ecac8c
commit
6be1a4a516
1 changed files with 9 additions and 11 deletions
|
@ -32,7 +32,7 @@
|
|||
];
|
||||
};
|
||||
|
||||
# Helper function for generating host configs
|
||||
# Helper function for generating host configs
|
||||
mkHost = {
|
||||
hostname,
|
||||
username ? "albert",
|
||||
|
@ -43,9 +43,8 @@
|
|||
type ? "default",
|
||||
repo ? "nixpkgs",
|
||||
unfree ? false
|
||||
}:
|
||||
inputs.${repo}.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
|
||||
}:inputs.${repo}.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
|
||||
|
||||
pkgs = import inputs.${repo} {
|
||||
inherit system;
|
||||
|
@ -59,13 +58,12 @@
|
|||
hostPlatform = system;
|
||||
};
|
||||
|
||||
modules = [
|
||||
# Types are 'default', 'small', and 'minimal'
|
||||
../nixos/${type}.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
];
|
||||
};
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue