hedgedoc: move from voyaer to sarek

This commit is contained in:
2023-10-06 00:19:04 +02:00
committed by Felix Albrigtsen
parent 2d5e40882c
commit eb00725930
6 changed files with 56 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
./services/nginx.nix
./services/postgresql.nix
./services/hedgedoc.nix
./services/flame.nix
];

View File

@@ -4,7 +4,7 @@ let
domain = "md.feal.no";
port = 3300;
host = "0.0.0.0";
authServerUrl = config.services.kanidm.serverSettings.origin;
authServerUrl = "https://auth.feal.no";
in {
# Contains CMD_SESSION_SECRET and CMD_OAUTH2_CLIENT_SECRET
sops.secrets."hedgedoc/env" = {
@@ -48,7 +48,7 @@ in {
systemd.services.hedgedoc = {
requires = [
"postgresql.service"
"kanidm.service"
# "kanidm.service"
];
serviceConfig = let
workDir = "/var/lib/hedgedoc";
@@ -93,5 +93,4 @@ in {
};
}];
};
}

View File

@@ -3,6 +3,11 @@
services.postgresql = {
enable = true;
enableTCPIP = true; # Expose on the network
authentication = pkgs.lib.mkOverride 10 ''
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
};
services.postgresqlBackup = {

View File

@@ -21,7 +21,6 @@
./services/transmission.nix
./services/metrics
./services/gitea.nix
./services/hedgedoc.nix
./services/vaultwarden.nix
./services/calibre.nix
./services/fancontrol.nix