nixos/cupsd: add udev rules of driver packages

This commit is contained in:
laikq 2020-12-02 14:02:19 +01:00 committed by Artturin
parent fc7f72e144
commit 376e02c721

View file

@ -308,6 +308,7 @@ in
environment.etc.cups.source = "/var/lib/cups";
services.dbus.packages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
services.udev.packages = cfg.drivers;
# Allow asswordless printer admin for members of wheel group
security.polkit.extraConfig = mkIf polkitEnabled ''