raise file limit for nix

This commit is contained in:
Johannes Jöns 2023-10-27 19:28:07 +02:00
parent 6be0729f36
commit 75c68eca4d

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
imports =
@ -123,5 +123,6 @@
# Re-Compile everything for my specific cpu
nix.settings.system-features = ["gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test"];
systemd.services.nix-daemon.serviceConfig.LimitNOFILE = lib.mkForce 1048576000;
}