nixpkgs/nixos/modules
Bjørn Forsman cc5645c6e0 nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd
(e.g. networking.useDHCP) and systemd-resolved
(services.resolved.enable) result in no "search" entry getting added to
/etc/resolv.conf, and dhcpcd logging the following error:

  $ systemctl status dhcpcd
  [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required.

Fix it by adding a polkit rule that gives the required permissions to
the 'dhcpcd' user to manipulate resolved. The rule was made by using
polkit logging and allowing each action.id until the above error went
away, and /etc/resolv.conf got the correct search entry.
2025-01-06 18:07:52 +01:00
..
config nixos/fontdir: fix X11-fonts cross compilation (#366959) 2024-12-31 16:50:29 +02:00
hardware nixos/hardware.pcmcia: Fix passthru.function usage (#370929) 2025-01-05 05:56:34 +01:00
i18n/input-method nixos/fcitx5: fix quickphrase 2024-12-28 15:10:34 +08:00
image image/images: Adapt remaining images to system.build.image & normalized filenames, (#359345) 2025-01-05 20:28:23 +00:00
installer image/images: Adapt remaining images to system.build.image & normalized filenames, (#359345) 2025-01-05 20:28:23 +00:00
misc nixos/ids: Link to RFC #52 and explain that static IDs are not allowed. 2024-12-23 17:01:59 -05:00
profiles Remove with lib from minimal profile; group config 2024-12-14 15:13:26 -05:00
programs tsm-client: 8.1.24.0 -> 8.1.25.0 (and update URLs) (#365012) 2025-01-02 23:25:56 +01:00
security nixos/acme: fix cert ownership assert message (#362271) 2024-12-18 10:49:58 +03:00
services nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved 2025-01-06 18:07:52 +01:00
system nixos/systemd-stage-1: Fix FIDO2 udev rules 2025-01-06 11:41:39 -05:00
tasks nixos/zfs: Set scrub default IOSchedulingClass to idle (#312193) 2025-01-05 23:57:50 +01:00
testing treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
virtualisation anbox: drop (#370821) 2025-01-05 22:19:09 +00:00
module-list.nix nixos/systemd-stage-1: Fix FIDO2 udev rules 2025-01-06 11:41:39 -05:00
rename.nix anbox: drop 2025-01-05 16:16:26 +01:00