Skip to content

Commit

Permalink
razer: does not require special group permissions anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
mardukpill committed Aug 23, 2024
1 parent 3238ba6 commit 01ed996
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/nixos/hw/razer/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ in
config = mkIf cfg.enable {
services = {
razer-laptop-control.enable = true;
udev.extraRules = ''
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
''; # needed for correct permissions for razer-laptop-control
# udev.extraRules = ''
# KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="plugdev"
# ''; # needed for correct permissions for razer-laptop-control
};

environment.systemPackages = with pkgs; [ polychromatic ];

dotties.user.extraGroups = [ "plugdev" ];
# dotties.user.extraGroups = [ "plugdev" ];
};
}

0 comments on commit 01ed996

Please sign in to comment.