test
This commit is contained in:
parent
7aa6674372
commit
a318c9ea44
1 changed files with 14 additions and 13 deletions
|
@ -43,20 +43,21 @@
|
||||||
type ? "default",
|
type ? "default",
|
||||||
repo ? "nixpkgs",
|
repo ? "nixpkgs",
|
||||||
unfree ? false
|
unfree ? false
|
||||||
}: inputs.${repo}.lib.nixosSystem {
|
}:
|
||||||
let
|
let
|
||||||
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;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
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; };
|
||||||
modules = [
|
modules = [
|
||||||
# Types are 'default', 'small', and 'minimal'
|
# Types are 'default', 'small', and 'minimal'
|
||||||
../nixos/${type}.nix
|
../nixos/${type}.nix
|
||||||
|
|
Loading…
Reference in a new issue