nix-config/nixos/_mixins/services/openrazer.nix

18 lines
331 B
Nix
Raw Permalink Normal View History

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