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