aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/common/optional
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/common/optional/services/dhcp.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/common/optional/services/dhcp.nix b/hosts/common/optional/services/dhcp.nix
index 58d8565..dd1d182 100644
--- a/hosts/common/optional/services/dhcp.nix
+++ b/hosts/common/optional/services/dhcp.nix
@@ -33,6 +33,7 @@
systemd.services = {
kea-dhcp4-server = {
+ restartTriggers = [ config.sops.secrets.kea-dhcp4_conf.path ];
serviceConfig = {
ExecStart = lib.mkForce ''
${pkgs.kea}/bin/kea-dhcp4 -c ''${CREDENTIALS_DIRECTORY}/kea-dhcp4_conf