From 81a79d77c809a3daff1c0cfc0a376236eb794792 Mon Sep 17 00:00:00 2001 From: Drew Haven Date: Tue, 26 May 2026 19:21:50 -0700 Subject: [PATCH] [archive] Attempts to fix the archive mount being stopped before the system sleeps. --- home-manager/features/mounts/mcp-archive.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home-manager/features/mounts/mcp-archive.nix b/home-manager/features/mounts/mcp-archive.nix index fbff766..c1acee1 100644 --- a/home-manager/features/mounts/mcp-archive.nix +++ b/home-manager/features/mounts/mcp-archive.nix @@ -8,6 +8,7 @@ ${pkgs.sshfs}/bin/sshfs \ -f \ -o reconnect \ + -o compression=yes -o ServerAliveInterval=15 \ -o ServerAliveCountMax=3 \ -o IdentityFile=%h/.ssh/id_ed25519 \ @@ -15,7 +16,7 @@ drew@mcp:/tank/archive/drew \ %h/archive ''; - unmountArchive = "/run/wrappers/bin/fusermount -u %h/mnt/archive"; + unmountArchive = "/run/wrappers/bin/fusermount -u %h/archive"; in { # Mounts the archive when the system is online.