1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/modules/tasks
Majiir Paktu c3e90f5667 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.
2023-10-07 16:09:11 -04:00
..
filesystems nixos/zfs: disable redundant scheduler 2023-09-13 21:36:36 +02:00
auto-upgrade.nix
bcache.nix nixos/bcache: add a boot.bcache.enable kill switch 2023-09-10 14:26:53 +01:00
cpu-freq.nix
encrypted-devices.nix
filesystems.nix nixos/stage-1-systemd: makeFstabEntries: drop rootPrefix parameter 2023-09-27 18:31:56 -04:00
lvm.nix Merge pull request #240600 from lilyinstarlight/fix/luksroot-lvm-default-off 2023-07-05 12:42:45 -04:00
network-interfaces-scripted.nix network.interfaces: Add option to configure WakeOnLan policy 2023-09-28 20:14:02 +02:00
network-interfaces-systemd.nix nixos/network-interfaces-systemd: require defaultGateway.interface 2023-10-07 16:09:11 -04:00
network-interfaces.nix network.interfaces: Add option to configure WakeOnLan policy 2023-09-28 20:14:02 +02:00
powertop.nix
scsi-link-power-management.nix
snapraid.nix
stratis.nix
swraid.nix nixos/swraid: only warn if swraid was explicitly enabled (#255426) 2023-09-16 12:19:19 +02:00
trackpoint.nix
tty-backgrounds-combine.sh