nixpkgs/nixos/modules/system/boot
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
..
loader nixos/grub: fix documentation for boot.loader.grub.theme (#305663) 2024-05-02 17:43:24 +00:00
systemd systemd: add a name option to all systemd units 2024-04-15 11:32:45 +02:00
binfmt.nix treewide: Remove usage of pkgs.{system,hostPlatform} aliases 2024-05-16 11:48:32 +02:00
clevis.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
clevis.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
emergency-mode.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
grow-partition.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
initrd-network.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
initrd-openvpn.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
initrd-ssh.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
kernel.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
kernel_config.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
kexec.nix
luksroot.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
modprobe.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
networkd.nix nixos/networkd: get rid of *Config attributes in lists 2024-05-20 17:26:42 +02:00
pbkdf2-sha512.c
plymouth.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
resolved.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
shutdown.nix
stage-1-init.sh nixos/stage-1.init.sh: only set 'IFS' in 'waitDevice' for bcachefs 2024-01-16 15:06:05 -06:00
stage-1.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
stage-2-init.sh stage-2: don't write to /dev/kmsg if missing 2023-10-30 21:53:52 +01:00
stage-2.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
stratisroot.nix
systemd.nix systemd: add a name option to all systemd units 2024-04-15 11:32:45 +02:00
timesyncd.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
tmp.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
uki.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
unl0kr.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
uvesafb.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00