mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-03-14 16:40:34 +01:00
hostconfig/fabrial: Forward davmail to the VM
This commit is contained in:
parent
17d80d9636
commit
cc60abc181
1 changed files with 14 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue