diff --git a/nixos/machines/gender-station/machine.nix b/nixos/machines/gender-station/machine.nix index 4fd4b079..a895709b 100644 --- a/nixos/machines/gender-station/machine.nix +++ b/nixos/machines/gender-station/machine.nix @@ -43,8 +43,15 @@ fileSystems."/mnt/media" = { device = "xenia@10.100.100.254:/media"; - fsType = "fuse.sshfs"; - options = [ "IdentityFile=/home/xenia/.ssh/id_ed25519" "allow_other" "uid=1002" "gid=1002" "x-systemd.automount" "noauto" ]; + fsType = "sshfs"; + options = [ + "IdentityFile=/home/xenia/.ssh/id_ed25519" + "StrictHostKeyChecking=no" # if the host is not in the known_hosts file, mount will silently mount + "allow_other" "uid=1000" "gid=1000" + "x-systemd.automount" + "noauto" + "reconnect" + ]; }; boot.supportedFilesystems."fuse.sshfs" = true;