nixpkgs-suyu/nixos/modules/system
Maximilian Bosch 47724fc77c
nixos/networkd: add ipv4-fallback and fallback as valid options to LinkLocalAddressing
Both options were introduced in systemd v243[1]. Those options can be
used to ensure that LinkLocalAddressing is only configured for a given
interface if DHCPv4 fails. To quote `systemd.network(5)`:

```
If "fallback" or "ipv4-fallback" is specified, then an IPv4
link-local address is configured only when DHCPv4 fails. If "fallback", an IPv6 link-local
address is always configured, and if "ipv4-fallback", the address is not configured. Note
that, the fallback mechanism works only when DHCPv4 client is enabled, that is, it requires
"DHCP=yes" or "DHCP=ipv4".
```

[1] 8bc17bb3f7
2019-10-28 20:51:17 +01:00
..
activation Revert "Merge #67232: machinectl compliant NixOS installation" 2019-10-07 20:56:59 +02:00
boot nixos/networkd: add ipv4-fallback and fallback as valid options to LinkLocalAddressing 2019-10-28 20:51:17 +01:00
etc Revert "Merge pull request #54980 from danbst/etc-relative" (#56507) 2019-02-28 07:48:40 +02:00