test
This commit is contained in:
parent
a34d8bc465
commit
14ae2a1b53
1 changed files with 18 additions and 19 deletions
|
@ -44,26 +44,25 @@
|
|||
repo ? "nixpkgs",
|
||||
unfree ? false
|
||||
}: 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; };
|
||||
|
||||
modules = let
|
||||
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 [
|
||||
# Types are 'default', 'small', and 'minimal'
|
||||
../nixos/${type}.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.lanzaboote.nixosModules.lanzaboote
|
||||
];
|
||||
};
|
||||
modules = let
|
||||
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 [
|
||||
# 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