migrating /mnt to /srv

This commit is contained in:
2024-10-24 10:18:18 -06:00
parent 84bc9cddab
commit 9683177062
9 changed files with 33 additions and 33 deletions

View File

@@ -83,7 +83,7 @@ dir_mode = "0775"
url = "http://localhost:8989" url = "http://localhost:8989"
api_key = "52869fe7bec4482dafb21c4053fe71e4" api_key = "52869fe7bec4482dafb21c4053fe71e4"
## File system path where downloaded Sonarr items are located. ## File system path where downloaded Sonarr items are located.
paths = ['/mnt/pool/multimedia/downloads/torrent'] paths = ['/srv/pool/multimedia/downloads/torrent']
## Default protocols is torrent. Alternative: "torrent,usenet" ## Default protocols is torrent. Alternative: "torrent,usenet"
protocols = "torrent" protocols = "torrent"
## How long to wait for a reply from the backend. ## How long to wait for a reply from the backend.
@@ -101,7 +101,7 @@ delete_delay = "5m"
url = "http://127.0.0.1:7878" url = "http://127.0.0.1:7878"
api_key = "a987ac45ca2c47bc88e762031ea33296" api_key = "a987ac45ca2c47bc88e762031ea33296"
## File system path where downloaded Radarr items are located. ## File system path where downloaded Radarr items are located.
paths = ['/mnt/pool/multimedia/downloads/torrent'] paths = ['/srv/pool/multimedia/downloads/torrent']
## Default protocols is torrents. Alternative: "torrent,usenet" ## Default protocols is torrents. Alternative: "torrent,usenet"
protocols = "torrent" protocols = "torrent"
## How long to wait for a reply from the backend. ## How long to wait for a reply from the backend.

View File

@@ -22,7 +22,7 @@
sc = "systemctl --user"; sc = "systemctl --user";
jc = "journalctl --user -xefu"; jc = "journalctl --user -xefu";
open-gallery = '' open-gallery = ''
cd /mnt/miniserver/pool/scrapping/JawZ/gallery-dl && cd /srv/miniserver/pool/scrapping/JawZ/gallery-dl &&
xdg-open "$(fd . ./ Husbands -tdirectory -d 1 | fzf -i)"''; xdg-open "$(fd . ./ Husbands -tdirectory -d 1 | fzf -i)"'';
}; };
enableVteIntegration = true; enableVteIntegration = true;

View File

@@ -195,7 +195,7 @@
openFirewall = true; openFirewall = true;
settings = { settings = {
inotify = "yes"; inotify = "yes";
media_dir = [ "/mnt/pool/" ]; media_dir = [ "/srv/pool/" ];
}; };
}; };
}; };

View File

@@ -79,7 +79,7 @@
"datacow" "datacow"
]; ];
}; };
# "/mnt/pool" = { # "/srv/pool" = {
# device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34"; # device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34";
# fsType = "btrfs"; # fsType = "btrfs";
# options = [ # options = [
@@ -99,25 +99,25 @@
fsType = "vfat"; fsType = "vfat";
}; };
"/var/lib/nextcloud/data" = { "/var/lib/nextcloud/data" = {
device = "/mnt/pool/nextcloud"; device = "/srv/pool/nextcloud";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
# "/mnt/jellyfin/media" = { # "/srv/jellyfin/media" = {
# device = "/mnt/pool/multimedia/media"; # device = "/srv/pool/multimedia/media";
# options = [ "bind" "ro" ]; # options = [ "bind" "ro" ];
# depends = [ "/mnt/pool" ]; # depends = [ "/srv/pool" ];
# }; # };
# NFS # NFS
"/export/pool" = { "/export/pool" = {
device = "/mnt/pool"; device = "/srv/pool";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
"/export/jawz" = { "/export/jawz" = {
device = "/home/jawz"; device = "/home/jawz";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
}; };
services.nfs = { services.nfs = {

View File

@@ -100,7 +100,7 @@
settings = { settings = {
inotify = "yes"; inotify = "yes";
media_dir = [ media_dir = [
"/mnt/pool" "/srv/pool"
"/home/jawz" "/home/jawz"
]; ];
}; };

View File

@@ -108,7 +108,7 @@
"datacow" "datacow"
]; ];
}; };
"/mnt/pool" = { "/srv/pool" = {
device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34"; device = "/dev/disk/by-uuid/1e7cf787-e34d-4e3e-ac3c-0c07309dbd34";
fsType = "btrfs"; fsType = "btrfs";
options = [ options = [
@@ -130,28 +130,28 @@
}; };
# NEXTCCLOUD # NEXTCCLOUD
"/var/lib/nextcloud/data" = { "/var/lib/nextcloud/data" = {
device = "/mnt/pool/nextcloud"; device = "/srv/pool/nextcloud";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
"/mnt/jellyfin/media" = { "/srv/jellyfin/media" = {
device = "/mnt/pool/multimedia/media"; device = "/srv/pool/multimedia/media";
options = [ options = [
"bind" "bind"
"ro" "ro"
]; ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
# NFS # NFS
"/export/pool" = { "/export/pool" = {
device = "/mnt/pool"; device = "/srv/pool";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
"/export/jawz" = { "/export/jawz" = {
device = "/home/jawz"; device = "/home/jawz";
options = [ "bind" ]; options = [ "bind" ];
depends = [ "/mnt/pool" ]; depends = [ "/srv/pool" ];
}; };
}; };
services.nfs = { services.nfs = {

View File

@@ -93,11 +93,11 @@
{ {
"/" = btrfsMount "nixos" // { }; "/" = btrfsMount "nixos" // { };
"/home" = btrfsMount "home" // { }; "/home" = btrfsMount "home" // { };
"/mnt/games" = btrfsMount "games" // { }; "/srv/games" = btrfsMount "games" // { };
"/mnt/miniserver/pool" = nfsMount "miniserver" "pool" // { }; "/srv/miniserver/pool" = nfsMount "miniserver" "pool" // { };
"/mnt/miniserver/jawz" = nfsMount "miniserver" "jawz" // { }; "/srv/miniserver/jawz" = nfsMount "miniserver" "jawz" // { };
"/mnt/server/pool" = nfsMount "server" "pool" // { }; "/srv/server/pool" = nfsMount "server" "pool" // { };
"/mnt/server/jawz" = nfsMount "server" "jawz" // { }; "/srv/server/jawz" = nfsMount "server" "jawz" // { };
"/boot" = { "/boot" = {
device = "/dev/disk/by-uuid/ac6d349a-96b9-499e-9009-229efd7743a5"; device = "/dev/disk/by-uuid/ac6d349a-96b9-499e-9009-229efd7743a5";
fsType = "ext4"; fsType = "ext4";

View File

@@ -17,10 +17,10 @@ in
PGID = "100"; PGID = "100";
}; };
volumes = [ volumes = [
"/mnt/pool/multimedia:/data" "/srv/pool/multimedia:/data"
"/mnt/pool/multimedia/media/Music:/music" "/srv/pool/multimedia/media/Music:/music"
"/mnt/pool/multimedia/media/MusicVideos:/music-videos" "/srv/pool/multimedia/media/MusicVideos:/music-videos"
"/mnt/pool/multimedia/downloads/usenet:/usenet" "/srv/pool/multimedia/downloads/usenet:/usenet"
"${config.my.containerData}/lidarr/files:/config" "${config.my.containerData}/lidarr/files:/config"
"${config.my.containerData}/lidarr/custom-services.d:/custom-services.d" "${config.my.containerData}/lidarr/custom-services.d:/custom-services.d"
"${config.my.containerData}/lidarr/custom-cont-init.d:/custom-cont-init.d" "${config.my.containerData}/lidarr/custom-cont-init.d:/custom-cont-init.d"

View File

@@ -7,7 +7,7 @@
enable = true; enable = true;
address = "0.0.0.0"; address = "0.0.0.0";
consumptionDirIsPublic = true; consumptionDirIsPublic = true;
consumptionDir = "/mnt/pool/scans/"; consumptionDir = "/srv/pool/scans/";
settings = { settings = {
PAPERLESS_DBENGINE = "postgress"; PAPERLESS_DBENGINE = "postgress";
PAPERLESS_DBNAME = "paperless"; PAPERLESS_DBNAME = "paperless";