diff --git a/nixos/viridian/services/borgbackup/default.nix b/nixos/viridian/services/borgbackup/default.nix index 18f4f2f..6e8df36 100644 --- a/nixos/viridian/services/borgbackup/default.nix +++ b/nixos/viridian/services/borgbackup/default.nix @@ -18,7 +18,6 @@ "/var/lib/redis-immich" "/var/lib/redis-paperless" "/var/lib/traefik" - "/var/lib/wiki-js" # Multimedia "/srv/multimedia/containers/jellyfin" "/srv/multimedia/containers/lidarr" diff --git a/nixos/viridian/services/wiki-js/default.nix b/nixos/viridian/services/wiki-js/default.nix index 45c4727..f6453f6 100644 --- a/nixos/viridian/services/wiki-js/default.nix +++ b/nixos/viridian/services/wiki-js/default.nix @@ -26,7 +26,7 @@ services.traefik.dynamicConfigOptions.http.routers = { wiki-js = { - rule = "Host(`wiki.sajkbd.io`)"; + rule = "Host(`docs.sajkbd.io`)"; entryPoints = [ "websecure" ]; @@ -44,5 +44,12 @@ ]; }; - environment.persistence."/persist".directories = ["/var/lib/wiki-js"]; + environment.persistence."/persist" = { + directories = [ + { + directory = "/var/lib/private"; + mode = "0700"; + } + ]; + }; }