about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro2023-04-02 01:29:59 +0200
committerGitHub2023-04-02 01:29:59 +0200
commitef6206c3eefbfc3de195527e3e4b985976b8be74 (patch)
tree0cb0ac904d4076451016192b87754673f43a84e5 /nixos
parente4bcbf4ffbe94cd276d0a62c7f3c15426b7040d0 (diff)
parentee88bac7beb5f5e24ab6202bbeb1a2c7e315c9f7 (diff)
Merge pull request #224170 from mvnetbiz/ddclient
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ddclient.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix
index 4d843641f58a..5e6f5217c0ce 100644
--- a/nixos/modules/services/networking/ddclient.nix
+++ b/nixos/modules/services/networking/ddclient.nix
@@ -218,6 +218,7 @@ with lib;
       wantedBy = [ "multi-user.target" ];
       after = [ "network.target" ];
       restartTriggers = optional (cfg.configFile != null) cfg.configFile;
+      path = lib.optional (lib.hasPrefix "if," cfg.use) pkgs.iproute2;
 
       serviceConfig = {
         DynamicUser = true;