test
This commit is contained in:
parent
85c7f764f7
commit
229fbcce7c
1 changed files with 10 additions and 10 deletions
|
@ -43,27 +43,27 @@
|
||||||
type ? "default",
|
type ? "default",
|
||||||
repo ? "nixpkgs",
|
repo ? "nixpkgs",
|
||||||
unfree ? false
|
unfree ? false
|
||||||
}: inputs.${repo}.lib.nixosSystem {
|
}: {
|
||||||
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 {
|
unstable-pkgs = import inputs.nixpkgs-unstable {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = unfree;
|
config.allowUnfree = unfree;
|
||||||
hostPlatform = system;
|
hostPlatform = system;
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = [
|
inputs.${repo}.lib.nixosSystem {
|
||||||
# Types are 'default', 'small', and 'minimal'
|
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
|
||||||
../nixos/${type}.nix
|
modules = [
|
||||||
inputs.sops-nix.nixosModules.sops
|
# Types are 'default', 'small', and 'minimal'
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
../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