Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/ddclient: fix missing iproute2
When obtaining the IP address from an interface iproute2 is missing: "Unable to obtain information for 'bond-wan' -- missing ip or ifconfig command" The prefix check to include iproute2 is incorrect for "usev4" and "usev6". Currently the NixOS module checks for the "if" prefix. This prefix is not valid with "usev4" and "usev6": "Invalid Value for keyword 'usev4' = 'if'" "ifv4" must be used with "usev4", and "ifv6" with "usev6". I updated the nixos module to check for the correct prefix with "usev4" and "usev6", and include iproute2 as necessary.
- Loading branch information