From 707550547e1621d1b89be1f63dc8295ddcdf3c16 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 23 Oct 2024 10:20:38 +0200 Subject: [PATCH] fix: update NOFILE limit in systemd and PAM configurations Increased the file descriptor limit (NOFILE) from 32000 to 32768 in systemd and PAM settings. This adjustment aligns system limits with higher resource demands. --- systems/x86_64-linux/x1/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index 7cf7930..8fabe1f 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -47,7 +47,7 @@ with lib.metacfg; services.trezord.enable = true; - systemd.user.extraConfig = "DefaultLimitNOFILE=32000"; + systemd.user.extraConfig = "DefaultLimitNOFILE=32768"; security.pam.loginLimits = [ { domain = "*"; item = "nofile"; type = "-"; value = "32768"; }