From fecb385fe79faa61ee2a638e373bddee4d3554eb Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 13 Jan 2025 15:45:07 -0600 Subject: [PATCH] add pam ulimit config --- nixos/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 7d3ca4a..fc1cb97 100755 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -129,6 +129,16 @@ enableSSHSupport = true; }; + # PAM modules + security.pam = { + loginLimits = [{ + domain = "*"; + type = "soft"; + item = "nofile"; + value = 8192; + }]; + }; + # List services that you want to enable: # Enable the OpenSSH daemon.