From b34c74bf38ff1bf073773f03705912e3becc9ef5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 3 Jan 2021 01:24:20 +0100 Subject: gkleen@sif: dynamic forward does not work --- accounts/gkleen@sif/systemd.nix | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'accounts/gkleen@sif/systemd.nix') diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix index c6ec6f64..a5b71417 100644 --- a/accounts/gkleen@sif/systemd.nix +++ b/accounts/gkleen@sif/systemd.nix @@ -4,19 +4,6 @@ let cfg = config.home-manager.users.${userName}; in { services = { - "dynamic-forward@" = { - Service = { - WorkingDirectory = "~"; - ExecStart = "${pkgs.autossh}/bin/autossh -M 20000 -- -vN -o ControlMaster=no \"%I\""; - Environment = [ "AUTOSSH_POLL=30" "AUTOSSH_PIDFILE=.ssh/autossh.%i.pid" ]; - PIDFile = "~/.ssh/autossh.%i.pid"; - Restart = "on-failure"; - RestartSec = "30"; - }; - Install = { - WantedBy = ["default.target"]; - }; - }; sync-keepass = { Service = { Type = "oneshot"; -- cgit v1.2.3