feat: move /media directory on host to external drive under /mnt/external

This commit is contained in:
wi11-holdsworth 2026-01-06 14:39:22 +11:00
parent bcc0914e32
commit 070305fe6e
3 changed files with 18 additions and 10 deletions

View file

@ -23,6 +23,22 @@
"server"
]);
# external drive
services.udisks2.enable = true;
fileSystems."/mnt/external" = {
device = "/dev/disk/by-uuid/d3b3d7dc-d634-4327-9ea2-9d8daa4ecf4e";
fsType = "ext4";
options = [
"nofail"
"defaults"
"user"
"rw"
"utf8"
"noauto"
"umask=000"
];
};
networking.hostName = "${hostName}";
# hardened openssh