diff --git a/config/default.nix b/config/default.nix index f24fbdd7..26260482 100644 --- a/config/default.nix +++ b/config/default.nix @@ -227,7 +227,7 @@ postgresql = lib.mkIf config.services.postgresql.enable { # default is 1024 which was not enough for mastodon and leading to errors like the following which crash postgresql: # could not close file "./global/176529": Too many open files - serviceConfig.LimitNOFile = toString 1024*32; + serviceConfig.LimitNOFile = 1024*32; }; };