hosts: increase file limit further

This commit is contained in:
Gabriel Fontes
2022-08-15 10:29:33 -03:00
parent c4d9a06128
commit 4afcaee10a
+14 -6
View File
@@ -45,12 +45,20 @@
hardware.enableRedistributableFirmware = true;
# Increase open file limit for sudoers
security.pam.loginLimits = [{
domain = "@wheel";
item = "nofile";
type = "soft";
value = "16384";
}];
security.pam.loginLimits = [
{
domain = "@wheel";
item = "nofile";
type = "soft";
value = "524288";
}
{
domain = "@wheel";
item = "nofile";
type = "hard";
value = "1048576";
}
];
system.stateVersion = lib.mkDefault "22.05";
}