Add sshfs mount of media_v2

This commit is contained in:
Tristan D. 2024-01-24 13:24:49 +01:00
parent d699c4ba07
commit 24bc178804
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY

View file

@ -125,7 +125,21 @@
fsType = "cifs"; fsType = "cifs";
options = [ mount_opts ]; 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 = { systemd = {
services = { services = {