# SillyTavern, on the WireGuard address only. State: /var/lib/SillyTavern # (data/, extensions/). { config, unstable, ... }: { services.sillytavern = { enable = true; package = unstable.sillytavern; # 26.05 has 1.18, the data is from 1.19 configFile = "${./sillytavern.yaml}"; # Port 8000, the WireGuard address and the whitelist (WireGuard only) # are in the config file; the module's flags do not reach the server }; asxpio.waitForData = [ "sillytavern" ]; asxpio.security.ports = [ "tcp/8000/MainThread" ]; systemd.services.sillytavern = { after = [ "wireguard-${config.asxpio.wireguard.interface}.service" ]; wants = [ "wireguard-${config.asxpio.wireguard.interface}.service" ]; serviceConfig.RestartSec = 5; }; }