Try to avoid 'too many open files' error

This commit is contained in:
Vili Sinervä 2024-09-06 11:25:51 +03:00
parent 83be3889d9
commit 175614db40
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -152,6 +152,15 @@
users.mutableUsers = false; # Force all user management to happen throught nix-files
security.pam.loginLimits = [
{
domain = "*";
type = "soft";
item = "nofile";
value = "8192";
}
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;