nixos-combined-flake/modules/home-manager/desktop/theme/cursor.nix

32 lines
747 B
Nix

{
pkgs,
config,
lib,
...
}: {
options = {
theme.cursor.enable = lib.mkEnableOption "Xorg cursor";
};
config = lib.mkIf config.theme.cursor.enable {
home = {
pointerCursor = {
name = "Colloid-teal-dark";
package = pkgs.colloid-icon-theme;
size = 24;
gtk.enable = true;
x11.enable = true;
};
};
nixpkgs.config.packageOverrides = pkgs: {
colloid-icon-theme = pkgs.colloid-icon-theme.override {
colorVariants = ["teal"];
};
catppuccin-gtk = pkgs.catppuccin-gtk.override {
accents = ["blue"]; # You can specify multiple accents here to output multiple themes
size = "standard";
variant = "mocha";
};
};
};
}