nixos/dendrite: set LimitNOFILE to 65535

This commit is contained in:
Nick Cao
2022-04-16 10:49:01 +08:00
parent 8ca35ce3e2
commit b79e0a0e06
+1
View File
@@ -247,6 +247,7 @@ in
WorkingDirectory = workingDir;
RuntimeDirectory = "dendrite";
RuntimeDirectoryMode = "0700";
LimitNOFILE = 65535;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
ExecStartPre = ''
${pkgs.envsubst}/bin/envsubst \