Add sshfs mount of media_v2
This commit is contained in:
parent
d699c4ba07
commit
24bc178804
1 changed files with 14 additions and 0 deletions
|
@ -125,7 +125,21 @@
|
|||
fsType = "cifs";
|
||||
options = [ mount_opts ];
|
||||
};
|
||||
"/mnt/media_v2" = {
|
||||
device = "root@23.88.68.113:/media_v2";
|
||||
fsType = "sshfs";
|
||||
options = [
|
||||
automount_opts
|
||||
perm_opts
|
||||
"allow_other"
|
||||
"_netdev"
|
||||
"reconnect"
|
||||
"ServerAliveInterval=15"
|
||||
"IdentityFile=/var/secrets/id_ed25519"
|
||||
];
|
||||
};
|
||||
};
|
||||
system.fsPackages = [ pkgs.sshfs ];
|
||||
|
||||
systemd = {
|
||||
services = {
|
||||
|
|
Loading…
Add table
Reference in a new issue