nixos/ddclient: Fix ip command with usev4 and usev6

This commit is contained in:
jmir1 2024-10-14 22:51:57 +02:00 committed by Bjørn Forsman
parent 686aecb436
commit 858b5c6762

View File

@ -222,7 +222,7 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
restartTriggers = lib.optional (cfg.configFile != null) cfg.configFile;
path = lib.optional (lib.hasPrefix "if," cfg.use) pkgs.iproute2;
path = lib.optional (lib.hasPrefix "if," cfg.use || lib.hasPrefix "if," cfg.usev4 || lib.hasPrefix "if," cfg.usev6) pkgs.iproute2;
serviceConfig = {
DynamicUser = true;