better mountpoints, set backup drive
This commit is contained in:
parent
8c11c9336c
commit
93538390eb
|
@ -14,7 +14,7 @@
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
# Media library
|
# Media library
|
||||||
"/srv/htpc/media:/media:ro"
|
"/mnt/data/htpc/media:/media:ro"
|
||||||
# Container data
|
# Container data
|
||||||
"/var/lib/jellyfin/config:/config:rw"
|
"/var/lib/jellyfin/config:/config:rw"
|
||||||
"/var/lib/jellyfin/cache:/cache:rw"
|
"/var/lib/jellyfin/cache:/cache:rw"
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
# Media library
|
# Media library
|
||||||
"/srv/htpc:/data:rw"
|
"/mnt/data/htpc:/data:rw"
|
||||||
# Container data
|
# Container data
|
||||||
"/var/lib/sonarr:/config:rw"
|
"/var/lib/sonarr:/config:rw"
|
||||||
];
|
];
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
# Media library
|
# Media library
|
||||||
"/srv/htpc:/data:rw"
|
"/mnt/data/htpc:/data:rw"
|
||||||
# Container data
|
# Container data
|
||||||
"/var/lib/radarr:/config:rw"
|
"/var/lib/radarr:/config:rw"
|
||||||
];
|
];
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
# Media library
|
# Media library
|
||||||
"/srv/htpc:/data:rw"
|
"/mnt/data/htpc:/data:rw"
|
||||||
# Container data
|
# Container data
|
||||||
"/var/lib/lidarr:/config:rw"
|
"/var/lib/lidarr:/config:rw"
|
||||||
];
|
];
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
];
|
];
|
||||||
volumes = [
|
volumes = [
|
||||||
# Seedbox
|
# Seedbox
|
||||||
"/srv/htpc/torrents:/data/torrents:rw"
|
"/mnt/data/htpc/torrents:/data/torrents:rw"
|
||||||
"/var/lib/qbittorrent:/config:rw"
|
"/var/lib/qbittorrent:/config:rw"
|
||||||
];
|
];
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"/var/run/docker.sock:/var/run/docker.sock:ro"
|
"/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
];
|
];
|
||||||
environment = {
|
environment = {
|
||||||
NEXTCLOUD_DATADIR = "/srv/nextcloud";
|
NEXTCLOUD_DATADIR = "/mnt/data/nextcloud";
|
||||||
APACHE_PORT = "11000";
|
APACHE_PORT = "11000";
|
||||||
APACHE_IP_BINDING = "0.0.0.0";
|
APACHE_IP_BINDING = "0.0.0.0";
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/htpc" =
|
fileSystems."/mnt/data" =
|
||||||
{ device = "/dev/disk/by-uuid/3548fbc6-6efd-4ed1-acc1-bd3ffed9d7a7";
|
{ device = "/dev/disk/by-uuid/3548fbc6-6efd-4ed1-acc1-bd3ffed9d7a7";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/srv/nextcloud" =
|
fileSystems."/mnt/backup" =
|
||||||
{ device = "/dev/disk/by-uuid/443fcb5a-b814-4d33-8cfb-93f6ff4aca11";
|
{ device = "/dev/disk/by-uuid/443fcb5a-b814-4d33-8cfb-93f6ff4aca11";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue