summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorMajiir Paktu <majiir@nabaal.net>2023-10-02 20:26:13 -0400
committerMajiir Paktu <majiir@nabaal.net>2023-10-07 16:09:11 -0400
commitc3e90f566715f717dc77a27f667b3372f40b9590 (patch)
tree6a410fe3ee9add453323f6bcef96e7522c53f05c /pkgs/development/python-modules/rangehttpserver
parentc11b788d1a6a2bed6187602a4cf2f3d1542098e7 (diff)
nixos/network-interfaces-systemd: require defaultGateway.interface
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.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions