fix(homelab): change download directory
This commit is contained in:
@@ -6,16 +6,16 @@
|
|||||||
let
|
let
|
||||||
srv = config.server;
|
srv = config.server;
|
||||||
cfg = config.server.podman;
|
cfg = config.server.podman;
|
||||||
|
|
||||||
piholeUrl =
|
|
||||||
if config.networking.hostName == "sobotka" then
|
|
||||||
"pihole0"
|
|
||||||
else if config.networking.hostName == "ziggy" then
|
|
||||||
"pihole1"
|
|
||||||
else
|
|
||||||
throw "Unknown hostname";
|
|
||||||
|
|
||||||
getPiholeSecret =
|
piholeUrl =
|
||||||
|
if config.networking.hostName == "sobotka" then
|
||||||
|
"pihole0"
|
||||||
|
else if config.networking.hostName == "ziggy" then
|
||||||
|
"pihole1"
|
||||||
|
else
|
||||||
|
throw "Unknown hostname";
|
||||||
|
|
||||||
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user