about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-04-24 12:36:21 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-04-24 12:36:21 +0200
commitcfa475854a7c4aa1b7b5e4d90990c81583186c99 (patch)
tree1ee6761fa0a0f53b38ec4a8b2c87a02e6ec0877b /nixos/modules/services
parentc115010a8b95e60d2e155e6dde9d0b3b31595e08 (diff)
nixos/evcc: restart on failure
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/home-automation/evcc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/home-automation/evcc.nix b/nixos/modules/services/home-automation/evcc.nix
index cf4043c946fa5..a952437b1b56e 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"