mount external hdd + update volume path

This commit is contained in:
♥ Minnie ♥ 2023-05-17 18:23:19 +08:00
parent eb38690275
commit 170e12223e
10 changed files with 15 additions and 10 deletions

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "lscr.io/linuxserver/code-server:latest";
volumes = [
"/srv/code-server:/config"
"/srv/containers/code-server:/config"
];
ports = [ "8443:8443" ];
};

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "gitea/gitea:latest";
volumes = [
"/srv/gitea:/data"
"/srv/containers/gitea:/data"
"/etc/localtime:/etc/localtime:ro"
];
ports = [

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "ghcr.io/benphelps/homepage:latest";
volumes = [
"/srv/homepage:/app/config"
"/srv/containers/homepage:/app/config"
];
ports = [ "3000:3000" ];
};

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "sctx/overseerr:latest";
volumes = [
"/srv/overseer:/app/config"
"/srv/containers/overseerr:/app/config"
];
ports = [ "5055:5055" ];
};

View file

@ -6,8 +6,8 @@
autoStart = true;
image = "pihole/pihole:latest";
volumes = [
"/srv/pihole/etc-pihole:/etc/pihole"
"/srv/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
"/srv/containers/pihole/etc-pihole:/etc/pihole"
"/srv/containers/pihole/etc-dnsmasq.d:/etc/dnsmasq.d"
];
ports = [
"53:53/tcp"

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "lscr.io/linuxserver/plex:latest";
volumes = [
"/srv/plex:/config"
"/srv/containers/plex:/config"
"/srv/media:/media"
];
ports = [ "32400:32400" ];

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "cr.hotio.dev/hotio/qbittorrent";
volumes = [
"/srv/qbittorrent:/config"
"/srv/containers/qbittorrent:/config"
"/srv/media:/media"
];
ports = [ "8080:8080" ];

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "cr.hotio.dev/hotio/radarr";
volumes = [
"/srv/radarr:/config"
"/srv/containers/radarr:/config"
"/srv/media:/media"
];
ports = [ "7878:7878" ];

View file

@ -6,7 +6,7 @@
autoStart = true;
image = "cr.hotio.dev/hotio/sonarr";
volumes = [
"/srv/sonarr:/config"
"/srv/containers/sonarr:/config"
"/srv/media:/media"
];
ports = [ "8989:8989" ];

View file

@ -18,6 +18,11 @@
fsType = "ext4";
};
fileSystems."/srv/media" =
{ device = "/dev/disk/by-uuid/3548fbc6-6efd-4ed1-acc1-bd3ffed9d7a7";
fsType = "ext4";
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking