pam: fix file access error
This commit is contained in:
parent
b00ad9a33a
commit
5480fd03e5
@ -44,6 +44,16 @@
|
|||||||
cpuFreqGovernor = "powersave";
|
cpuFreqGovernor = "powersave";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/101459#issuecomment-758306434
|
||||||
|
security.pam.loginLimits = [
|
||||||
|
{
|
||||||
|
domain = "*";
|
||||||
|
type = "soft";
|
||||||
|
item = "nofile";
|
||||||
|
value = "4096";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
# optimize the store
|
# optimize the store
|
||||||
optimise.automatic = true;
|
optimise.automatic = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user