Enable openrazer

This commit is contained in:
Natsu Kagami 2021-11-27 21:02:00 -05:00
parent 5487a65026
commit 54449a4506
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -6,7 +6,8 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [
# Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
# secret management # secret management
./secrets ./secrets
@ -88,11 +89,18 @@
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Enable razer daemon
hardware.openrazer.enable = true;
hardware.openrazer.keyStatistics = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.nki = { users.users.nki = {
isNormalUser = true; isNormalUser = true;
uid = 1000; uid = 1000;
extraGroups = [ "wheel" ]; # Enable sudo for the user. extraGroups = [
"wheel" # Enable sudo for the user.
"plugdev" # Enable openrazer-daemon privileges
];
}; };
# Allow all packages # Allow all packages