better mountpoints, set backup drive

This commit is contained in:
♥ Minnie ♥ 2024-01-01 07:23:18 +08:00
parent 8c11c9336c
commit 93538390eb
3 changed files with 8 additions and 8 deletions

View file

@ -14,7 +14,7 @@
];
volumes = [
# Media library
"/srv/htpc/media:/media:ro"
"/mnt/data/htpc/media:/media:ro"
# Container data
"/var/lib/jellyfin/config:/config:rw"
"/var/lib/jellyfin/cache:/cache:rw"
@ -34,7 +34,7 @@
];
volumes = [
# Media library
"/srv/htpc:/data:rw"
"/mnt/data/htpc:/data:rw"
# Container data
"/var/lib/sonarr:/config:rw"
];
@ -51,7 +51,7 @@
];
volumes = [
# Media library
"/srv/htpc:/data:rw"
"/mnt/data/htpc:/data:rw"
# Container data
"/var/lib/radarr:/config:rw"
];
@ -68,7 +68,7 @@
];
volumes = [
# Media library
"/srv/htpc:/data:rw"
"/mnt/data/htpc:/data:rw"
# Container data
"/var/lib/lidarr:/config:rw"
];
@ -112,7 +112,7 @@
];
volumes = [
# Seedbox
"/srv/htpc/torrents:/data/torrents:rw"
"/mnt/data/htpc/torrents:/data/torrents:rw"
"/var/lib/qbittorrent:/config:rw"
];
extraOptions = [

View file

@ -13,7 +13,7 @@
"/var/run/docker.sock:/var/run/docker.sock:ro"
];
environment = {
NEXTCLOUD_DATADIR = "/srv/nextcloud";
NEXTCLOUD_DATADIR = "/mnt/data/nextcloud";
APACHE_PORT = "11000";
APACHE_IP_BINDING = "0.0.0.0";
};

View file

@ -23,12 +23,12 @@
fsType = "vfat";
};
fileSystems."/srv/htpc" =
fileSystems."/mnt/data" =
{ device = "/dev/disk/by-uuid/3548fbc6-6efd-4ed1-acc1-bd3ffed9d7a7";
fsType = "ext4";
};
fileSystems."/srv/nextcloud" =
fileSystems."/mnt/backup" =
{ device = "/dev/disk/by-uuid/443fcb5a-b814-4d33-8cfb-93f6ff4aca11";
fsType = "ext4";
};