nixos/ddclient: add iproute2 to unit path if using "if" method
This commit is contained in:
parent
0c972f5f0c
commit
ee88bac7be
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue