1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 03:51:07 +01:00

fix(sshfs): depend on tinc and wpa_supplicant

This commit is contained in:
2020-11-01 08:25:11 +01:00
parent ddec0551e8
commit eed54d1593

View File

@@ -33,22 +33,26 @@ in {
device = "moodle@toum.r:/var/lib/moodle"; device = "moodle@toum.r:/var/lib/moodle";
fsType = "fuse.sshfs"; fsType = "fuse.sshfs";
options = [ options = [
"IdentityFile=/root/.ssh/id_rsa"
"Port=${toString sshPort}"
"_netdev"
"allow_other" "allow_other"
"default_permissions" "default_permissions"
"gid=100" "gid=100"
"uid=1000"
"IdentityFile=/root/.ssh/id_rsa"
"Port=${toString sshPort}"
"idmap=user" "idmap=user"
"noatime"
"noauto" "noauto"
"nodiratime"
"nofail" "nofail"
"reconnect" "reconnect"
"ro" "ro"
"uid=1000"
"x-systemd.automount" "x-systemd.automount"
"x-systemd.requires=network.target"
"x-systemd.idle-timeout=1min"
"x-systemd.device-timeout=1s" "x-systemd.device-timeout=1s"
"x-systemd.idle-timeout=1min"
"x-systemd.mount-timeout=1s" "x-systemd.mount-timeout=1s"
"x-systemd.requires=tinc.retiolum.service"
"x-systemd.requires=wpa_supplicant.service"
]; ];
}; };