pam: fix file access error

This commit is contained in:
Simon Gardling 2025-04-15 09:28:57 -04:00
parent b00ad9a33a
commit 5480fd03e5
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -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;