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

@ -37,7 +37,7 @@
};
repositories = [
{
path = "/backup/repo";
path = "/mnt/external/backup/repo";
label = "onsite";
# encryption = "repokey-blake2";
}
@ -73,14 +73,6 @@
];
# onsite drive
services.udisks2.enable = true;
fileSystems."/backup" = {
device = "/dev/disk/by-uuid/d3b3d7dc-d634-4327-9ea2-9d8daa4ecf4e";
fsType = "ext4";
options = [
"nofail"
];
};
# secrets
age.secrets = {

View file

@ -322,7 +322,7 @@ in
memory = true;
disk = [
"/"
"/backup"
"/mnt/external"
];
cputemp = true;
tempmin = 0;