nix-config/nixos/_mixins/services/openrazer.nix
Greg Burd 86706b1fc7 wimpy-ified
inspired by wimpysworld nix-config
2023-09-25 14:05:07 -04:00

17 lines
379 B
Nix

{ desktop, pkgs, username, ... }:
{
environment.systemPackages = with pkgs; [ ] ++ lib.optionals (desktop != null) [
polychromatic
];
hardware = {
openrazer = {
enable = true;
devicesOffOnScreensaver = false;
keyStatistics = true;
mouseBatteryNotifier = true;
syncEffectsEnabled = true;
users = [ "${username}" ];
};
};
}