I am running NixOS as VMWare guest on Windows host. I can mount shared directory using vmhgfs-fuse on command line but when I tried to add it to configuration.nix
like so
system.fsPackages = [ pkgs.open-vm-tools ];
fileSystems."/mount/here" = {
fsType = "fuse.vmhgfs-fuse";
device = ".host:/windows_share";
options = [
"allow_other"
"auto_unmount"
"uid=1000"
"gid=100"
"defaults"
];
};
it failed with vmhgfs-fuse: command not found
error in the log.