diff --git a/configuration/services/foundryvtt.nix b/configuration/services/foundryvtt.nix index d573480..069f336 100644 --- a/configuration/services/foundryvtt.nix +++ b/configuration/services/foundryvtt.nix @@ -12,6 +12,8 @@ in { enable = true; hostName = domain; minifyStaticFiles = true; + proxySSL = true; + proxyPort = 443; }; # Want to start it manually when I need it, not have it constantly @@ -33,4 +35,12 @@ in { proxyPass = "http://localhost:${toString port}"; }; }; + + services.backups.foundryvtt = { + user = "foundryvtt"; + paths = [ + config.services.foundryvtt.dataDir + ]; + pauseServices = ["foundryvtt.service"]; + }; }