diff options
author | Jared Baur <jaredbaur@fastmail.com> | 2024-06-09 12:15:35 -0700 |
---|---|---|
committer | Jared Baur <jaredbaur@fastmail.com> | 2024-06-09 20:41:32 -0700 |
commit | b867cc215f2d01b25f478c6c711b5be9374c3dac (patch) | |
tree | c5ce176a9db07cba580bb3bf5f1a3052edb63a5a /nixos/lib | |
parent | e04560f23027c7d1fb33a7ccc780c9e285e975e5 (diff) |
nixos/systemd-networkd: add PREF64 related options
Diffstat (limited to 'nixos/lib')
-rw-r--r-- | nixos/lib/systemd-network-units.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/lib/systemd-network-units.nix b/nixos/lib/systemd-network-units.nix index d15485240bd0a..c35309a6d2628 100644 --- a/nixos/lib/systemd-network-units.nix +++ b/nixos/lib/systemd-network-units.nix @@ -147,7 +147,10 @@ in { '' + optionalString (def.ipv6SendRAConfig != { }) '' [IPv6SendRA] ${attrsToSection def.ipv6SendRAConfig} - '' + flip concatMapStrings def.ipv6Prefixes (x: '' + '' + flip concatMapStrings def.ipv6PREF64Prefixes (x: '' + [IPv6PREF64Prefix] + ${attrsToSection x} + '') + flip concatMapStrings def.ipv6Prefixes (x: '' [IPv6Prefix] ${attrsToSection x} '') + flip concatMapStrings def.ipv6RoutePrefixes (x: '' |