[archive] Attempts to fix the archive mount being stopped before the system sleeps.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user