From c78cda2a1a882ef6f4b747a79e6e4cff7686e72d Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 30 Sep 2018 06:11:56 -0500 Subject: light: 1.1.2 -> 1.2, use new udev support instead of setuid wrapper. --- nixos/modules/programs/light.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules/programs/light.nix') diff --git a/nixos/modules/programs/light.nix b/nixos/modules/programs/light.nix index 6f8c389acc97e..93bfda481fea0 100644 --- a/nixos/modules/programs/light.nix +++ b/nixos/modules/programs/light.nix @@ -13,7 +13,7 @@ in default = false; type = types.bool; description = '' - Whether to install Light backlight control with setuid wrapper. + Whether to install Light backlight control command and udev rules. ''; }; }; @@ -21,6 +21,6 @@ in config = mkIf cfg.enable { environment.systemPackages = [ pkgs.light ]; - security.wrappers.light.source = "${pkgs.light.out}/bin/light"; + services.udev.packages = [ pkgs.light ]; }; } -- cgit 1.4.1