use new degoog module

This commit is contained in:
Henry Hiles 2026-09-09 13:55:53 -04:00
commit 624c6a8693
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
3 changed files with 91 additions and 106 deletions

View file

@ -3,12 +3,14 @@
services = {
degoog = {
enable = true;
port = 8081;
configurePostgres = true;
publicInstance = true;
environment.DEGOOG_UNIX_SOCKET = "/var/run/degoog/degoog.sock";
};
caddy.authedHosts."search.federated.nexus" =
"reverse_proxy 127.0.0.1:${toString config.services.degoog.port}";
"reverse_proxy unix/${config.services.degoog.environment.DEGOOG_UNIX_SOCKET}";
};
systemd.services.caddy.serviceConfig.SupplementaryGroups = [ "degoog" ];
}