nix-config/home-manager/_mixins/rgb/default.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" ];
};
};
}