From 5480fd03e5bbf7d4423ba9e9a6e9286fe70d681d Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Tue, 15 Apr 2025 09:28:57 -0400 Subject: [PATCH] pam: fix file access error --- configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configuration.nix b/configuration.nix index 352899c..ff07f0f 100644 --- a/configuration.nix +++ b/configuration.nix @@ -44,6 +44,16 @@ cpuFreqGovernor = "powersave"; }; + # https://github.com/NixOS/nixpkgs/issues/101459#issuecomment-758306434 + security.pam.loginLimits = [ + { + domain = "*"; + type = "soft"; + item = "nofile"; + value = "4096"; + } + ]; + nix = { # optimize the store optimise.automatic = true;