Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell
Created October 8, 2020 01:39
Show Gist options
  • 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