Improve the foundryvtt service #97

Manually merged
tlater merged 2 commits from tlater/improve-foundry into master 2024-03-13 01:43:56 +00:00

View file

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