Add openrgb and openrazer to desktop

This commit is contained in:
iFargle 2023-12-27 18:27:55 +09:00
parent d19085b0a6
commit cbc16e7f07
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{ pkgs, username, ... }: {
hardware.openrazer = {
enable = true;
users = [ "${username}" ];
devicesOffOnScreensaver = true;
};
}

View file

@ -3,6 +3,7 @@
./disks.nix ./disks.nix
../../common/modules/secureboot.nix ../../common/modules/secureboot.nix
../../common/modules/ssh-luks.nix ../../common/modules/ssh-luks.nix
../../common/services/openrazer.nix
]; ];
# steam, nvidia-x11, etc # steam, nvidia-x11, etc
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -52,5 +53,8 @@
pkgs.wineWowPackages.stable pkgs.wineWowPackages.stable
pkgs.winetricks pkgs.winetricks
pkgs.wineWowPackages.waylandFull pkgs.wineWowPackages.waylandFull
# RGB stuff
pkgs.openrgb-with-all-plugins
]; ];
} }