[archive] Attempts to fix the archive mount being stopped before the system sleeps.

This commit is contained in:
2026-05-26 19:21:50 -07:00
parent 518ad143e0
commit 81a79d77c8

View File

@@ -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.