From 268d9845ba72c95d559ec11a4580260ebe464210 Mon Sep 17 00:00:00 2001 From: Marc Partensky Date: Wed, 20 Sep 2023 19:09:05 +0200 Subject: [PATCH] unit --- nixos/.config/home-manager/home.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/.config/home-manager/home.nix b/nixos/.config/home-manager/home.nix index 09fb318..c698671 100644 --- a/nixos/.config/home-manager/home.nix +++ b/nixos/.config/home-manager/home.nix @@ -348,6 +348,8 @@ systemd.user.services.autossh = { Unit = { Description = "Connect to my tower remotely."; + StartLimitBurst = "10"; + StartLimitIntervalSec = "5"; }; Service = { Type = "exec"; @@ -363,8 +365,6 @@ marc@207.180.235.56 ''; Restart = "on-failure"; - StartLimitBurst = "10"; - StartLimitIntervalSec = "5"; }; Install = { WantedBy = [ "network.target" ]; }; # enable = true;