mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
18 lines
379 B
Nix
18 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}" ];
|
||
|
};
|
||
|
};
|
||
|
}
|