Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
Created October 8, 2020 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinlacewell/2cf3028a1c0f2e297d7dd69795ba7b15 to your computer and use it in GitHub Desktop.
Save dustinlacewell/2cf3028a1c0f2e297d7dd69795ba7b15 to your computer and use it in GitHub Desktop.
system.fsPackages = [ pkgs.sshfsFuse ];
fileSystems."/media/foundry" = {
device = "${pkgs.sshfsFuse}/bin/sshfs#ldlework@hostname:/var/lib/foundry-vtt/";
fsType = "fuse";
options = ["x-systemd.automount"
"idmap=user" "uid=1000"
"reconnect"
# "IdentityFile=/home/ldlework/.ssh/id_rsa"
];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment