diff --git a/systems/LoutreOS/medias.nix b/systems/LoutreOS/medias.nix index 96b06ee..f177bea 100644 --- a/systems/LoutreOS/medias.nix +++ b/systems/LoutreOS/medias.nix @@ -17,8 +17,14 @@ }; }; - radarr.enable = true; - sonarr.enable = true; + radarr = { + enable = true; + package = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.radarr; + }; + sonarr = { + enable = true; + package = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.sonarr; + }; jackett = { enable = true; package = inputs.nixpkgs-unstable.legacyPackages.x86_64-linux.jackett; diff --git a/systems/LoutreOS/services.nix b/systems/LoutreOS/services.nix index 3b8df04..e028104 100644 --- a/systems/LoutreOS/services.nix +++ b/systems/LoutreOS/services.nix @@ -549,9 +549,10 @@ in photoprism = { enable = true; originalsPath = "/mnt/backup_loutre/amandoleen/d/Users/Amand/Pictures"; + passwordFile = "/mnt/secrets/photoprism_pass"; settings = { - PHOTOPRISM_AUTH_MODE = "public"; PHOTOPRISM_READONLY = "1"; + PHOTOPRISM_DETECT_NSFW = "1"; PHOTOPRISM_SITE_URL = "https://photo.nyanlout.re/"; }; }; diff --git a/systems/LoutreOS/web.nix b/systems/LoutreOS/web.nix index aa7ca38..587f5ef 100644 --- a/systems/LoutreOS/web.nix +++ b/systems/LoutreOS/web.nix @@ -264,7 +264,7 @@ in "ci.nyanlout.re" = simpleReverse 52350; "gitea.nyanlout.re" = simpleReverse config.services.gitea.httpPort; "musique.nyanlout.re" = simpleReverse config.services.navidrome.settings.Port; - "photo.nyanlout.re" = recursiveUpdate (authReverse config.services.photoprism.port) { + "photo.nyanlout.re" = recursiveUpdate (simpleReverse config.services.photoprism.port) { locations."/" = { proxyWebsockets = true; };