summary refs log tree commit diff
path: root/nixos/modules/services/networking/smartdns.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/smartdns.nix')
-rw-r--r--nixos/modules/services/networking/smartdns.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/smartdns.nix b/nixos/modules/services/networking/smartdns.nix
index f1888af7041..f84c727f034 100644
--- a/nixos/modules/services/networking/smartdns.nix
+++ b/nixos/modules/services/networking/smartdns.nix
@@ -54,6 +54,7 @@ in {
 
     systemd.packages = [ pkgs.smartdns ];
     systemd.services.smartdns.wantedBy = [ "multi-user.target" ];
+    systemd.services.smartdns.restartTriggers = [ confFile ];
     environment.etc."smartdns/smartdns.conf".source = confFile;
     environment.etc."default/smartdns".source =
       "${pkgs.smartdns}/etc/default/smartdns";