From 48a837a91959efbc7da7f98447c50f32b4ee7c94 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Thu, 2 Apr 2026 16:18:29 -0500 Subject: jta, other changes --- hosts/mercury/nixos.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'hosts/mercury/nixos.nix') 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"; -- cgit v1.3.1