add auto restart

This commit is contained in:
Henry Hiles 2025-10-29 11:42:29 -04:00
commit 7896091428
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -12,14 +12,16 @@
settings = lib.mkOption {
type = lib.types.submodule {
freeformType = (pkgs.formats.toml { }).type;
};
default = { };
};
};
config = {
systemd.services.continuwuity.serviceConfig.Restart = lib.mkForce "always";
systemd.services.continuwuity.serviceConfig = {
Restart = lib.mkForce "always";
RuntimeMaxSec = "1d";
};
services =
let
subdomain = "matrix.${config.quad.matrix.domain}";