From 6dd07def6a084d98a0cc90ce27cf45ef409de340 Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 3 Sep 2023 14:27:45 +0200 Subject: [PATCH] photoprism: load secrets from sops --- 2configs/home/photoprism.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/2configs/home/photoprism.nix b/2configs/home/photoprism.nix index 096ad29..78ecef3 100644 --- a/2configs/home/photoprism.nix +++ b/2configs/home/photoprism.nix @@ -99,6 +99,9 @@ in PHOTOPRISM_SPONSOR = "true"; }; + environmentFiles = [ + config.sops.secrets."photoprism/envfile".path + ]; }; virtualisation.oci-containers.containers.mysql-photoprism = {