test
This commit is contained in:
parent
35c1a9faaa
commit
2238cfef42
1 changed files with 11 additions and 7 deletions
|
@ -43,18 +43,22 @@
|
||||||
type ? "default",
|
type ? "default",
|
||||||
repo ? "nixpkgs",
|
repo ? "nixpkgs",
|
||||||
unfree ? false
|
unfree ? false
|
||||||
}: inputs.${repo}.lib.nixosSystem {
|
}:
|
||||||
|
let
|
||||||
|
|
||||||
|
pkgs-unstable = import inputs.nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
hostPlatform = true;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
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; };
|
||||||
pkgs = import inputs.${repo} {
|
pkgs = import inputs.${repo} {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = unfree;
|
config.allowUnfree = unfree;
|
||||||
hostPlatform = system;
|
hostPlatform = system;
|
||||||
};
|
};
|
||||||
pkgs-unstable = import inputs.nixpkgs-unstable {
|
|
||||||
inherit system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
hostPlatform = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
# Types are 'default', 'small', and 'minimal'
|
# Types are 'default', 'small', and 'minimal'
|
||||||
|
@ -62,7 +66,7 @@
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
inputs.lanzaboote.nixosModules.lanzaboote
|
inputs.lanzaboote.nixosModules.lanzaboote
|
||||||
];
|
];
|
||||||
};
|
};};
|
||||||
|
|
||||||
# Combines mkHost and mkHome for image building
|
# Combines mkHost and mkHome for image building
|
||||||
mkImage = {
|
mkImage = {
|
||||||
|
|
Loading…
Reference in a new issue