mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 11:40:45 +00:00
c3e90f5667
The logic for configuring a gateway without an interface specified adds a route with Gateway= to *every interface* configured by NixOS for networkd. This leads to nonsensical configurations like the following: [Network] DHCP=no Address=192.168.0.1/24 [Route] Gateway=10.0.0.1 GatewayOnLink=false We remove this logic and make defaultGateway.interface required to configure a default gateway when using networkd. We can ignore the removal of GatewayOnLink because systemd defaults it to "no" anyway. |
||
---|---|---|
.. | ||
filesystems | ||
auto-upgrade.nix | ||
bcache.nix | ||
cpu-freq.nix | ||
encrypted-devices.nix | ||
filesystems.nix | ||
lvm.nix | ||
network-interfaces-scripted.nix | ||
network-interfaces-systemd.nix | ||
network-interfaces.nix | ||
powertop.nix | ||
scsi-link-power-management.nix | ||
snapraid.nix | ||
stratis.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |