From cc60abc1812c706e2db329fae2973b181838b8c2 Mon Sep 17 00:00:00 2001 From: traxys Date: Thu, 5 Mar 2026 16:34:05 +0100 Subject: [PATCH] hostconfig/fabrial: Forward davmail to the VM --- hostconfig/fabrial/hm.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hostconfig/fabrial/hm.nix b/hostconfig/fabrial/hm.nix index c57cb77..ce475b8 100644 --- a/hostconfig/fabrial/hm.nix +++ b/hostconfig/fabrial/hm.nix @@ -464,6 +464,20 @@ in }; }; + systemd.user.services.ssh-vm = { + Unit.Description = "SSH tunnel to the VM"; + Service = { + ExecStart = "/usr/bin/ssh -o 'ServerAliveInterval=10' -NT vm -R 1025:localhost:1025"; + + RestartSec = 5; + Restart = "always"; + }; + + Install = { + WantedBy = [ "default.target" ]; + }; + }; + systemd.user.services.notmuch-new = { Unit = { Description = "notmuch synchronization";