Move mount point of HDD

This commit is contained in:
Jan Kremer 2026-02-20 07:57:28 +01:00
parent b30e2bb210
commit c10d627a5a
No known key found for this signature in database
7 changed files with 10 additions and 10 deletions

View file

@ -39,7 +39,7 @@
}; };
## 8 TB HDD ## 8 TB HDD
"/mnt/sdb1" = { "/mnt" = {
device = "/dev/disk/by-uuid/10fef994-6ff0-4896-bc34-1ca4403af3d7"; device = "/dev/disk/by-uuid/10fef994-6ff0-4896-bc34-1ca4403af3d7";
fsType = "ext4"; fsType = "ext4";
}; };

View file

@ -34,7 +34,7 @@
volumes = { volumes = {
"/" = { "/" = {
path = "/mnt/sdb1/cloud"; path = "/mnt/cloud";
access = { access = {
A = [ "jan" ]; A = [ "jan" ];
r = "*"; r = "*";
@ -43,7 +43,7 @@
}; };
"/Medien" = { "/Medien" = {
path = "/mnt/sdb1/media"; path = "/mnt/media";
access = { access = {
A = [ "jan" ]; A = [ "jan" ];
r = "*"; r = "*";

View file

@ -4,7 +4,7 @@
enable = true; enable = true;
# port = 2283; # port = 2283;
accelerationDevices = [ "/dev/dri/renderD128" ]; accelerationDevices = [ "/dev/dri/renderD128" ];
mediaLocation = "/mnt/sdb1/photos"; mediaLocation = "/mnt/photos";
}; };
}; };
} }

View file

@ -22,7 +22,7 @@
systemd = { systemd = {
services = { services = {
epg = { epg = {
script = "${pkgs.nodejs}/bin/npm run --prefix /mnt/sdb1/media/TV/epg/ grab --- --channels=/mnt/sdb1/media/TV/custom.channels.xml"; script = "${pkgs.nodejs}/bin/npm run --prefix /mnt/media/TV/epg/ grab --- --channels=/mnt/media/TV/custom.channels.xml";
path = [ path = [
pkgs.bash pkgs.bash
pkgs.nodejs pkgs.nodejs

View file

@ -5,7 +5,7 @@
bindMounts = { bindMounts = {
"/var/lib/minecraft" = { "/var/lib/minecraft" = {
hostPath = "/mnt/sdb1/minecraft"; hostPath = "/mnt/minecraft";
isReadOnly = false; isReadOnly = false;
}; };
}; };

View file

@ -4,7 +4,7 @@
autoStart = true; autoStart = true;
bindMounts = { bindMounts = {
"/Music" = { "/Music" = {
hostPath = "/mnt/sdb1/media/Music"; hostPath = "/mnt/media/Music";
isReadOnly = false; isReadOnly = false;
}; };
}; };

View file

@ -12,17 +12,17 @@
}; };
Cloud = { Cloud = {
path = "/mnt/sdb1/cloud"; path = "/mnt/cloud";
writeable = "yes"; writeable = "yes";
}; };
Media = { Media = {
path = "/mnt/sdb1/media"; path = "/mnt/media";
writeable = "yes"; writeable = "yes";
}; };
TimeMachine = { TimeMachine = {
path = "/mnt/sdb1/timemachine"; path = "/mnt/timemachine";
writeable = "yes"; writeable = "yes";
"fruit:time machine" = "yes"; "fruit:time machine" = "yes";
}; };