steam: limite nofile

This commit is contained in:
nyanloutre 2019-01-12 13:47:41 +01:00
parent e37452eac8
commit 31a1ae1f95
1 changed files with 10 additions and 0 deletions

View File

@ -200,6 +200,16 @@
services.syncthing.user = "paul";
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
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you