fix(homelab): change download directory

This commit is contained in:
2025-09-13 20:50:56 +02:00
parent 3bec3b8afe
commit 48a1310d97

View File

@@ -8,14 +8,14 @@ let
cfg = config.server.podman;
piholeUrl =
if config.networking.hostName == "sobotka" then
"pihole0"
else if config.networking.hostName == "ziggy" then
"pihole1"
else
throw "Unknown hostname";
if config.networking.hostName == "sobotka" then
"pihole0"
else if config.networking.hostName == "ziggy" then
"pihole1"
else
throw "Unknown hostname";
getPiholeSecret =
getPiholeSecret =
hostname:
if hostname == "ziggy" then
[ config.age.secrets.piholeZiggy.path ]
@@ -213,7 +213,7 @@ in
];
volumes = [
"/var/lib/qbittorrent:/config:rw"
"/share/downloads:/downloads:rw"
"/mnt/data/media/downloads:/downloads:rw"
];
environmentFiles = [
config.age.secrets.gluetunEnvironment.path
@@ -242,7 +242,7 @@ in
];
volumes = [
"/var/lib/slskd:/app:rw"
"/share/downloads:/downloads:rw"
"/mnt/data/media/downloads:/downloads:rw"
];
environmentFiles = [
config.age.secrets.gluetunEnvironment.path