nixos/dhcpcd: specify withUdev when overriding the package for no udev (#414724)

This commit is contained in:
Michele Guerini Rocco 2025-06-08 12:21:11 +02:00 committed by GitHub
commit b16827a225
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,13 @@
}: }:
let let
dhcpcd = if !config.boot.isContainer then pkgs.dhcpcd else pkgs.dhcpcd.override { udev = null; }; dhcpcd =
if !config.boot.isContainer then
pkgs.dhcpcd
else
pkgs.dhcpcd.override {
withUdev = false;
};
cfg = config.networking.dhcpcd; cfg = config.networking.dhcpcd;