diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/configurations/lipwig.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nixos/configurations/lipwig.nix b/nixos/configurations/lipwig.nix index 8e372c6..524a864 100644 --- a/nixos/configurations/lipwig.nix +++ b/nixos/configurations/lipwig.nix @@ -33,6 +33,10 @@ "/nas" = { device = "172.16.128.63:/nas/2682"; fsType = "nfs"; + options = [ + "_netdev" + "x-systemd.automount" + ]; }; "/nas/nextcloud-sync" = { device = "/nas/sync"; @@ -43,12 +47,11 @@ device = "nas@omnia.spt:/data/nas"; fsType = "fuse.sshfs"; options = [ - "noauto" - "x-systemd.automount" + "allow_other" "_netdev" + "x-systemd.automount" "reconnect" "identityfile=/run/secrets/nas.ssh.priv" - "allow_other" "idmap=user" "uid=nextcloud" "gid=nextcloud" |