summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/systemd.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 01:24:20 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 16:21:34 +0100
commitb34c74bf38ff1bf073773f03705912e3becc9ef5 (patch)
treeb6756816ed05179f1ec6421f000da626b91bac4b /accounts/gkleen@sif/systemd.nix
parent392e6768f9f60c761b65f8774c1667ab8d00f230 (diff)
downloadnixos-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/systemd.nix')
-rw-r--r--accounts/gkleen@sif/systemd.nix13
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};
5in { 5in {
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";