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
Maximilian Bosch c4fd7cf16d
nixos/networkd: get rid of *Config attributes in lists
This patch is about removing `wireguardPeerConfig`,
`dhcpServerStaticLeaseConfig` - a.k.a. the
AbstractSingletonProxyFactoryBean of nixpkgs - and friends.

As a former colleague said

> worst abstraction ever

I second that. I've written enough networkd config for NixOS systems so
far to have a strong dislike. In fact, these don't even make sense:
`netdevs.wireguardPeers._.wireguardPeerConfig` will be rendered into
the key `[WireGuardPeer]` and every key from `wireguardPeerConfig` is in
there. Since it's INI, there's no place where sections on the same level
as wireguardPeerConfig fit into. Hence, get rid of it all.

For the transition, using the old way is still allowed, but gives a
warning. I think we could drop this after one release.

The tests of rosenpass and systemd-networkd-dhcpserver-static-leases
were broken on the rev before, hence they were updated, but are still
not building.
2024-05-20 17:26:42 +02:00
..
filesystems Merge pull request #287505 from jpds/zfs-scrub-trim-randomizedDelaySec 2024-05-10 02:11:13 +02:00
auto-upgrade.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
bcache.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
cpu-freq.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
encrypted-devices.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
filesystems.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
lvm.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
network-interfaces-scripted.nix nixos/network-interfaces: fix implicit dependency on underlying device 2024-01-02 12:03:29 +05:30
network-interfaces-systemd.nix nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
network-interfaces.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
powertop.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
scsi-link-power-management.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
stratis.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
swraid.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
trackpoint.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
tty-backgrounds-combine.sh