steam: limite nofile
This commit is contained in:
parent
e37452eac8
commit
31a1ae1f95
@ -200,6 +200,16 @@
|
|||||||
services.syncthing.user = "paul";
|
services.syncthing.user = "paul";
|
||||||
services.syncthing.group = "users";
|
services.syncthing.group = "users";
|
||||||
|
|
||||||
|
# Set limits for esync (SteamPlay Proton)
|
||||||
|
systemd.extraConfig = "DefaultLimitNOFILE=1048576";
|
||||||
|
|
||||||
|
security.pam.loginLimits = [{
|
||||||
|
domain = "*";
|
||||||
|
type = "hard";
|
||||||
|
item = "nofile";
|
||||||
|
value = "1048576";
|
||||||
|
}];
|
||||||
|
|
||||||
# This value determines the NixOS release with which your system is to be
|
# This value determines the NixOS release with which your system is to be
|
||||||
# compatible, in order to avoid breaking some software such as database
|
# compatible, in order to avoid breaking some software such as database
|
||||||
# servers. You should change this only after NixOS release notes say you
|
# servers. You should change this only after NixOS release notes say you
|
||||||
|
Loading…
Reference in New Issue
Block a user