summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/tinc.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-29 13:44:45 +0100
committertv <tv@krebsco.de>2022-12-29 15:24:39 +0100
commitb3c5492b696e02468604fbe00abdc36cb02eb22b (patch)
treea9a3ec32eab8f657271b279f9115829fa6446175 /krebs/3modules/tinc.nix
parent2a63d78060295a4a59b2d90c48480625a592da71 (diff)
krebs.systemd.restartIfCredentialsChange: default = false
Diffstat (limited to 'krebs/3modules/tinc.nix')
-rw-r--r--krebs/3modules/tinc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix
index c33b30f0d..0babc448a 100644
--- a/krebs/3modules/tinc.nix
+++ b/krebs/3modules/tinc.nix
@@ -232,6 +232,7 @@ with import <stockholm/lib>;
) config.krebs.tinc;
krebs.systemd.services = mapAttrs (netname: cfg: {
+ restartIfCredentialsChange = true;
}) config.krebs.tinc;
systemd.services = mapAttrs (netname: cfg: {