From cfa475854a7c4aa1b7b5e4d90990c81583186c99 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 24 Apr 2024 12:36:21 +0200 Subject: [PATCH] nixos/evcc: restart on failure --- nixos/modules/services/home-automation/evcc.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix index cf4043c946fa..a952437b1b56 100644 --- a/nixos/modules/services/home-automation/evcc.nix +++ b/nixos/modules/services/home-automation/evcc.nix @@ -63,6 +63,7 @@ in DynamicUser = true; LockPersonality = true; MemoryDenyWriteExecute = true; + Restart = "on-failure"; RestrictAddressFamilies = [ "AF_INET" "AF_INET6"