From 47a0808b971f53edfd22a713107a83431be57fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 16 Jan 2023 01:51:06 +0100 Subject: [PATCH] Format --- hosts/hydra/default.nix | 6 ++---- hosts/pulsebert/default.nix | 8 +++----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/hosts/hydra/default.nix b/hosts/hydra/default.nix index 9f78b5be..2681a62a 100644 --- a/hosts/hydra/default.nix +++ b/hosts/hydra/default.nix @@ -319,11 +319,9 @@ in }; hydra-init.preStart = let - makesSenseForQemuUser = feature: - ! (builtins.elem feature [ "kvm" "benchmark" ]); + makesSenseForQemuUser = feature: !(builtins.elem feature [ "kvm" "benchmark" ]); # strips features that don't make sense on qemu-user - extraPlatformSystemFeatures = - builtins.filter makesSenseForQemuUser config.nix.settings.system-features; + extraPlatformSystemFeatures = builtins.filter makesSenseForQemuUser config.nix.settings.system-features; 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 '' diff --git a/hosts/pulsebert/default.nix b/hosts/pulsebert/default.nix index ef636add..5dd350e6 100644 --- a/hosts/pulsebert/default.nix +++ b/hosts/pulsebert/default.nix @@ -26,11 +26,9 @@ deviceTree.enable = true; }; - nix = { - settings = { - cores = 2; - max-jobs = 1; - }; + nix.settings = { + cores = 2; + max-jobs = 1; }; nixpkgs.config.packageOverrides = pkgs: {