diff options
Diffstat (limited to 'nixos/modules/programs/light.nix')
-rw-r--r-- | nixos/modules/programs/light.nix | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/nixos/modules/programs/light.nix b/nixos/modules/programs/light.nix index c89f8e937216..09cd1113d9c7 100644 --- a/nixos/modules/programs/light.nix +++ b/nixos/modules/programs/light.nix @@ -21,13 +21,6 @@ in config = mkIf cfg.enable { environment.systemPackages = [ pkgs.light ]; - - security.permissionsWrappers.setuid = - [ { program = "light"; - source = "${pkgs.light.out}/bin/light"; - owner = "root"; - group = "root"; - setuid = true; - }]; + security.setuidPrograms = [ "light" ]; }; } |