file limits

This commit is contained in:
2025-10-20 15:10:10 -06:00
parent 2b681c5c1c
commit 8276b86255
2 changed files with 14 additions and 2 deletions

View File

@@ -8,7 +8,20 @@
./modules/k3s.nix
./modules/pci-passthrough.nix
];
security.pam.loginLimits = [
{
domain = "*";
type = "soft";
item = "nofile";
value = "65000";
}
{
domain = "*";
type = "hard";
item = "nofile";
value = "65000";
}
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;