Commit ee88bac7 authored by Matt Votava's avatar Matt Votava
Browse files

nixos/ddclient: add iproute2 to unit path if using "if" method

parent 0c972f5f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;