1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/nixos/modules/services
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
..
admin
amqp
audio nixos/navidrome: add nu-nu-ko to maintainers 2024-05-10 21:16:30 +12:00
backup Merge pull request #310199 from symphorien/borg_ignore_warnings_master 2024-05-13 23:53:18 +02:00
blockchain/ethereum
cluster k3s: format with nixfmt-rfc-style 2024-05-10 18:55:54 -03:00
computing
continuous-integration
databases
desktop-managers nixos/plasma6: add CAP_SYS_NICE for kwin_wayland 2024-05-03 02:27:44 -04:00
desktops Merge master into staging-next 2024-05-03 00:02:39 +00:00
development
display-managers Merge pull request #311376 from SuperSandro2000/display-managers-misc 2024-05-14 09:36:02 -04:00
editors
finance
games
hardware nixos/thermald: improve doc and code about configFile and adaptive 2024-05-16 11:41:56 -04:00
home-automation nixos/ebusd: clean up module 2024-05-03 08:34:17 +01:00
logging Merge pull request #308335 from bbigras/promtail 2024-05-03 13:28:09 +02:00
mail nixos/stalwart-mail: set default lookup storage 2024-05-15 00:42:08 +02:00
matrix nixos/mautrix-signal: add module 2024-05-05 13:57:50 +02:00
misc Merge pull request #311397 from Raroh73/fix/services.llama-cpp 2024-05-16 20:26:28 +08:00
monitoring nixos/loki: use cfg.package 2024-05-16 22:11:19 +02:00
network-filesystems
networking nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
printing
scheduling
search
security Merge pull request #250638 from benley/keycloak-systemd-notify 2024-05-15 14:13:20 -07:00
system nixos/dbus: fix switching from dbus-broker to dbus 2024-05-04 21:56:17 +02:00
torrent
tracing
ttys
video
wayland
web-apps Merge pull request #312249 from dotlambda/nextcloud 2024-05-16 22:27:52 +02:00
web-servers nixos/garage: assert that replication_mode is string 2024-05-15 11:48:25 +02:00
x11 Merge pull request #310926 from Gerg-L/display-manager 2024-05-13 15:59:17 +02:00