diff --git a/hosts/common/fs.nix b/hosts/common/fs.nix index 0be0a5550..a1236e464 100644 --- a/hosts/common/fs.nix +++ b/hosts/common/fs.nix @@ -183,6 +183,7 @@ let # drop_privileges: after `mount.fuse3` opens /dev/fuse, it will drop all capabilities before invoking sshfs "drop_privileges" "auto_unmount" #< ensures that when the fs exits, it releases its mountpoint. then systemd can recognize it as failed. + "interface=0.0.0.0" #< see: ]; # fsType = "nfs"; # options = fsOpts.nfs ++ fsOpts.lazyMount; @@ -240,7 +241,10 @@ let "ftp://servo-hn:/${subdir}" "/dev/null" "-o" - (lib.concatStringsSep "," ([ "exit_after_connect" ] ++ config.fileSystems."${localPath}".options)) + (lib.concatStringsSep "," ([ + "exit_after_connect" + "interface=0.0.0.0" #< see: + ] ++ config.fileSystems."${localPath}".options)) ]; serviceConfig.RemainAfterExit = true; serviceConfig.Type = "oneshot"; diff --git a/pkgs/additional/curlftpfs-sane/default.nix b/pkgs/additional/curlftpfs-sane/default.nix index d065ea152..a9a678768 100644 --- a/pkgs/additional/curlftpfs-sane/default.nix +++ b/pkgs/additional/curlftpfs-sane/default.nix @@ -16,8 +16,8 @@ domain = "git.uninsane.org"; owner = "colin"; repo = "curlftpfs"; - rev = "fuse3"; - hash = "sha256-QwGbQuriNwnZscnYBEVp3Td6/ifiA8rtQcvtvmTnpbU="; + rev = "master"; + hash = "sha256-bqkRHV4d1y349yIHAtXPMlfWciVCH/geW73id8aJwUs="; }; # `mount` clears PATH before calling the mount helper (see util-linux/lib/env.c), # so the traditional /etc/fstab approach of fstype=fuse and device = curlftpfs#URI doesn't work.