Improve the foundryvtt service #97
|
@ -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"];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue