feat: move /media directory on host to external drive under /mnt/external
This commit is contained in:
parent
bcc0914e32
commit
070305fe6e
3 changed files with 18 additions and 10 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue