This commit is contained in:
soraefir
2026-05-20 00:36:30 +02:00
parent 51b6d88c64
commit 23cd521445

View File

@@ -28,10 +28,10 @@ let
in { in {
sops = true; sops = true;
paths = [ paths = [
{ path = "${serverCfg.dataPath}/media/"; mode = "0755"; } { path = "${serverCfg.dataPath}/media/"; owner = "1000:1000"; mode = "0755"; }
{ path = "${serverCfg.configPath}/servarr/prowlarr"; mode = "0755"; } { path = "${serverCfg.configPath}/servarr/prowlarr"; owner = "1000:1000"; mode = "0755"; }
{ path = "${serverCfg.configPath}/servarr/radarr"; mode = "0755"; } { path = "${serverCfg.configPath}/servarr/radarr"; owner = "1000:1000"; mode = "0755"; }
{ path = "${serverCfg.configPath}/servarr/sonarr"; mode = "0755"; } { path = "${serverCfg.configPath}/servarr/sonarr"; owner = "1000:1000"; mode = "0755"; }
]; ];
containers = { containers = {
@@ -50,6 +50,7 @@ in {
}; };
extraOptions = [ extraOptions = [
"--tmpfs=/tmp:rw,noexec,nosuid,size=512m" "--tmpfs=/tmp:rw,noexec,nosuid,size=512m"
"--user=1000:1000"
]; ];
overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/prowlarr:/config" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/prowlarr:/config" ];
}; };
@@ -69,6 +70,7 @@ in {
}; };
extraOptions = [ extraOptions = [
"--tmpfs=/tmp:rw,noexec,nosuid,size=512m" "--tmpfs=/tmp:rw,noexec,nosuid,size=512m"
"--user=1000:1000"
]; ];
overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/radarr:/config" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/radarr:/config" ];
}; };
@@ -88,6 +90,7 @@ in {
}; };
extraOptions = [ extraOptions = [
"--tmpfs=/tmp:rw,noexec,nosuid,size=512m" "--tmpfs=/tmp:rw,noexec,nosuid,size=512m"
"--user=1000:1000"
]; ];
overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/sonarr:/config" ]; overrides.volumes = sharedVolumes ++ [ "${serverCfg.configPath}/servarr/sonarr:/config" ];
}; };