aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/nixos.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-04-02 16:18:29 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-04-02 16:18:29 -0500
commit48a837a91959efbc7da7f98447c50f32b4ee7c94 (patch)
tree0b17514bd37b6de76a8a497ef3ac3d6bf696ae53 /hosts/mercury/nixos.nix
parent871c22cae2ef84694502fde290838bb24432a1f4 (diff)
jta, other changes
Diffstat (limited to 'hosts/mercury/nixos.nix')
-rw-r--r--hosts/mercury/nixos.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hosts/mercury/nixos.nix b/hosts/mercury/nixos.nix
index 8fcb504..6459fdb 100644
--- a/hosts/mercury/nixos.nix
+++ b/hosts/mercury/nixos.nix
@@ -22,6 +22,19 @@
dataDir = "/home/collin/.local/syncthing";
};
+ fileSystems."/home/collin/ganymede" = {
+ device = "collin@ganymede:/media";
+ fsType = "fuse.sshfs";
+ options = [
+ "identityfile=/home/collin/.ssh/id_ed25519"
+ "idmap=user"
+ "x-systemd.automount" #< mount the filesystem automatically on first access
+ "allow_other" #< don't restrict access to only the user which `mount`s it (because that's probably systemd who mounts it, not you)
+ "user" #< allow manual `mount`ing, as ordinary user.
+ ];
+ };
+ boot.supportedFilesystems."fuse.sshfs" = true;
+
services.autossh.sessions = [
{
name = "ganymede";