nixpkgs/nixos/modules
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
..
config nixos/terminfo: always use buildPlatform's terminfo (#309108) 2024-05-06 09:04:43 +00:00
hardware Merge pull request #309052 from kira-bruneau/intel-gpu-tools 2024-05-07 23:28:45 +02:00
i18n/input-method nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
image nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
installer treewide: reanme renamed libinput options 2024-04-17 23:34:07 +02:00
misc nixos/version: support UAPI Version Format in IMAGE_VERSION field 2024-05-16 15:37:41 +02:00
profiles nixos/top-level: Rename system.forbiddenDependenciesRegex to system.forbiddenDependenciesRegexes 2024-05-02 21:08:39 +03:00
programs nixos/kdeconnect: don't install sshfs 2024-05-16 21:48:34 +02:00
security nixos/confinement: Use prio 100 for RootDirectory 2024-05-13 00:40:41 +02:00
services nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
system nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
tasks nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
testing nixos/tests: set non-conflicting priority for logrotate disabling 2024-05-10 16:25:51 +03:00
virtualisation treewide: Remove usage of pkgs.{system,hostPlatform} aliases 2024-05-16 11:48:32 +02:00
module-list.nix nixos/your_spotify: init 2024-05-13 22:10:13 +02:00
rename.nix treewide: rename renamed sddm/displayManager settings 2024-04-08 21:56:38 +02:00