From 4d24ca379c90d5f7d18f24aedf2f83932ce4e0f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 15 Nov 2022 16:37:05 +0100 Subject: nixos: improve nix settings --- nixos/modules/compile.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/compile.nix b/nixos/modules/compile.nix index 7988699..6c42951 100644 --- a/nixos/modules/compile.nix +++ b/nixos/modules/compile.nix @@ -13,10 +13,10 @@ with lib; }; config = mkIf config.cynerd.compile { - nix.extraOptions = '' - max-jobs = 32 - cores = 0 - ''; + nix.settings = { + max-jobs = 32; + cores = 0; + }; boot.binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ]; environment.systemPackages = with pkgs; [ -- cgit v1.2.3