diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 01:24:20 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 16:21:34 +0100 |
commit | b34c74bf38ff1bf073773f03705912e3becc9ef5 (patch) | |
tree | b6756816ed05179f1ec6421f000da626b91bac4b /accounts/gkleen@sif | |
parent | 392e6768f9f60c761b65f8774c1667ab8d00f230 (diff) | |
download | nixos-b34c74bf38ff1bf073773f03705912e3becc9ef5.tar nixos-b34c74bf38ff1bf073773f03705912e3becc9ef5.tar.gz nixos-b34c74bf38ff1bf073773f03705912e3becc9ef5.tar.bz2 nixos-b34c74bf38ff1bf073773f03705912e3becc9ef5.tar.xz nixos-b34c74bf38ff1bf073773f03705912e3becc9ef5.zip |
gkleen@sif: dynamic forward does not work
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/systemd.nix | 13 |
1 files changed, 0 insertions, 13 deletions
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 | |||
4 | cfg = config.home-manager.users.${userName}; | 4 | cfg = config.home-manager.users.${userName}; |
5 | in { | 5 | in { |
6 | services = { | 6 | services = { |
7 | "dynamic-forward@" = { | ||
8 | Service = { | ||
9 | WorkingDirectory = "~"; | ||
10 | ExecStart = "${pkgs.autossh}/bin/autossh -M 20000 -- -vN -o ControlMaster=no \"%I\""; | ||
11 | Environment = [ "AUTOSSH_POLL=30" "AUTOSSH_PIDFILE=.ssh/autossh.%i.pid" ]; | ||
12 | PIDFile = "~/.ssh/autossh.%i.pid"; | ||
13 | Restart = "on-failure"; | ||
14 | RestartSec = "30"; | ||
15 | }; | ||
16 | Install = { | ||
17 | WantedBy = ["default.target"]; | ||
18 | }; | ||
19 | }; | ||
20 | sync-keepass = { | 7 | sync-keepass = { |
21 | Service = { | 8 | Service = { |
22 | Type = "oneshot"; | 9 | Type = "oneshot"; |