hedgedoc: move from voyaer to sarek
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
./services/nginx.nix
|
||||
./services/postgresql.nix
|
||||
./services/hedgedoc.nix
|
||||
./services/flame.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -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 {
|
||||
};
|
||||
}];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
./services/transmission.nix
|
||||
./services/metrics
|
||||
./services/gitea.nix
|
||||
./services/hedgedoc.nix
|
||||
./services/vaultwarden.nix
|
||||
./services/calibre.nix
|
||||
./services/fancontrol.nix
|
||||
|
||||
Reference in New Issue
Block a user