nix-config/nixos/_mixins/services/openrazer.nix
2024-05-23 15:02:20 -04:00

17 lines
331 B
Nix

{ pkgs, username, ... }:
{
environment.systemPackages = with pkgs; [
polychromatic
];
hardware = {
openrazer = {
enable = true;
devicesOffOnScreensaver = false;
keyStatistics = true;
mouseBatteryNotifier = true;
syncEffectsEnabled = true;
users = [ "${username}" ];
};
};
}