aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-15 16:37:05 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-15 16:37:05 +0100
commit4d24ca379c90d5f7d18f24aedf2f83932ce4e0f6 (patch)
tree7492d8b4375205bcb06681e141a6498a074dac53 /nixos
parentfbc988088c25ab6a81e786a9554cb03e8ead4958 (diff)
downloadnixos-personal-4d24ca379c90d5f7d18f24aedf2f83932ce4e0f6.tar.gz
nixos-personal-4d24ca379c90d5f7d18f24aedf2f83932ce4e0f6.tar.bz2
nixos-personal-4d24ca379c90d5f7d18f24aedf2f83932ce4e0f6.zip
nixos: improve nix settings
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/compile.nix8
1 files changed, 4 insertions, 4 deletions
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; [