From a24f5126e11c4a6d51b4528c6d0de3e9b95d79b3 Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 12 Jul 2023 07:30:49 -0600 Subject: [PATCH] box: add group for photos, extend photoprism into that group --- hosts/box/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/box/default.nix b/hosts/box/default.nix index 507b4ef..7309e3c 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -175,6 +175,12 @@ in { members = ["qbit" "sonarr" "radarr" "lidarr" "nzbget" "jellyfin" "headphones"]; }; + users.groups.photos = { + name = "photos"; + members = ["qbit"]; + }; + + systemd.services.photoprism.serviceConfig.SupplementaryGroups = "photos"; services = { photoprism = { enable = true;