Format
This commit is contained in:
parent
7c7a07d78d
commit
47a0808b97
|
@ -319,11 +319,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
hydra-init.preStart = let
|
hydra-init.preStart = let
|
||||||
makesSenseForQemuUser = feature:
|
makesSenseForQemuUser = feature: !(builtins.elem feature [ "kvm" "benchmark" ]);
|
||||||
! (builtins.elem feature [ "kvm" "benchmark" ]);
|
|
||||||
# strips features that don't make sense on qemu-user
|
# strips features that don't make sense on qemu-user
|
||||||
extraPlatformSystemFeatures =
|
extraPlatformSystemFeatures = builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
|
||||||
builtins.filter makesSenseForQemuUser config.nix.settings.system-features;
|
|
||||||
in
|
in
|
||||||
# both entries cannot have localhost alone because then hydra would merge them together but we want explictily two to not allow benchmarkts for binfmt emulated arches
|
# both entries cannot have localhost alone because then hydra would merge them together but we want explictily two to not allow benchmarkts for binfmt emulated arches
|
||||||
''
|
''
|
||||||
|
|
|
@ -26,11 +26,9 @@
|
||||||
deviceTree.enable = true;
|
deviceTree.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix.settings = {
|
||||||
settings = {
|
cores = 2;
|
||||||
cores = 2;
|
max-jobs = 1;
|
||||||
max-jobs = 1;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.packageOverrides = pkgs: {
|
nixpkgs.config.packageOverrides = pkgs: {
|
||||||
|
|
Loading…
Reference in New Issue