Increase open file limits for building the system

Without this I was hitting issues when building the authentik flake
which apparently is quite large and complex.
This commit is contained in:
Eli Ribble 2025-09-09 15:03:52 +00:00
parent e78d5aacf5
commit e025d2dce3

View file

@ -17,7 +17,16 @@
];
i18n.defaultLocale = "en_US.UTF-8";
networking.useNetworkd = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
download-buffer-size = 524288000;
experimental-features = [ "nix-command" "flakes" ];
};
security.pam.loginLimits = [{
domain = "*";
type = "soft";
item = "nofile";
value = "8192";
}];
services.swapspace.enable = true;
systemd.network = {
enable = true;