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:
parent
e78d5aacf5
commit
e025d2dce3
1 changed files with 10 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue