From 23cd5214457f46d8830d884b3c463050d01dde3d Mon Sep 17 00:00:00 2001 From: soraefir Date: Wed, 20 May 2026 00:36:30 +0200 Subject: [PATCH] test --- modules/server/containers/apps/servarr.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/server/containers/apps/servarr.nix b/modules/server/containers/apps/servarr.nix index 4060b2b..efd9c91 100644 --- a/modules/server/containers/apps/servarr.nix +++ b/modules/server/containers/apps/servarr.nix @@ -28,10 +28,10 @@ let in { sops = true; paths = [ - { path = "${serverCfg.dataPath}/media/"; mode = "0755"; } - { path = "${serverCfg.configPath}/servarr/prowlarr"; mode = "0755"; } - { path = "${serverCfg.configPath}/servarr/radarr"; mode = "0755"; } - { path = "${serverCfg.configPath}/servarr/sonarr"; mode = "0755"; } + { path = "${serverCfg.dataPath}/media/"; owner = "1000:1000"; mode = "0755"; } + { path = "${serverCfg.configPath}/servarr/prowlarr"; owner = "1000:1000"; mode = "0755"; } + { path = "${serverCfg.configPath}/servarr/radarr"; owner = "1000:1000"; mode = "0755"; } + { path = "${serverCfg.configPath}/servarr/sonarr"; owner = "1000:1000"; mode = "0755"; } ]; containers = { @@ -50,6 +50,7 @@ in { }; extraOptions = [ "--tmpfs=/tmp:rw,noexec,nosuid,size=512m" + "--user=1000:1000" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/prowlarr:/config" ]; }; @@ -69,6 +70,7 @@ in { }; extraOptions = [ "--tmpfs=/tmp:rw,noexec,nosuid,size=512m" + "--user=1000:1000" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/radarr:/config" ]; }; @@ -88,6 +90,7 @@ in { }; extraOptions = [ "--tmpfs=/tmp:rw,noexec,nosuid,size=512m" + "--user=1000:1000" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/sonarr:/config" ]; };