mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-14 16:36:24 +00:00
29 lines
688 B
Nix
29 lines
688 B
Nix
|
{ config, ... }:
|
||
|
let inherit (config.colorscheme) colors;
|
||
|
in {
|
||
|
services.rgbdaemon = {
|
||
|
enable = true;
|
||
|
daemons = {
|
||
|
swayLock = true;
|
||
|
mute = true;
|
||
|
player = true;
|
||
|
};
|
||
|
colors = {
|
||
|
background = "${colors.base00}";
|
||
|
foreground = "${colors.base05}";
|
||
|
secondary = "${colors.base0B}";
|
||
|
tertiary = "${colors.base0E}";
|
||
|
quaternary = "${colors.base05}";
|
||
|
};
|
||
|
keyboard = {
|
||
|
device = "/dev/input/ckb1/cmd";
|
||
|
highlighted = [ "h" "j" "k" "l" "w" "a" "s" "d" "m3" "g11" "profswitch" "lwin" "rwin" ];
|
||
|
};
|
||
|
mouse = {
|
||
|
device = "/dev/input/ckb2/cmd";
|
||
|
dpi = 750;
|
||
|
highlighted = [ "wheel" "thumb" ];
|
||
|
};
|
||
|
};
|
||
|
}
|