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

This commit is contained in:
Matt Votava 2023-03-31 21:54:21 -07:00
parent 0c972f5f0c
commit ee88bac7be

View file

@ -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;