Skip to content

Instantly share code, notes, and snippets.

@ToxicFrog
Created March 28, 2017 19:03
Show Gist options
  • Save ToxicFrog/b652102f8ab092a57ad5f6f73ae6fe31 to your computer and use it in GitHub Desktop.
Save ToxicFrog/b652102f8ab092a57ad5f6f73ae6fe31 to your computer and use it in GitHub Desktop.
systemd.mounts = [{
what = "ben@ancilla:/ancilla";
where = "/ancilla";
type = "fuse.sshfs";
options = "noauto,user,allow_other,nonempty,IdentityFile=/home/ben/.ssh/id_rsa,StrictHostKeyChecking=no,reconnect,ServerAliveInterval=10";
}];
systemd.automounts = [{
where = "/ancilla";
automountConfig = {
DirectoryMode = "0775";
TimeoutIdleSec = 60;
};
wantedBy = ["multi-user.target"];
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment