nixos/home/gui/catppuccin/home.nix

14 lines
313 B
Nix
Raw Normal View History

{ pkgs
, lib
, config
, ... }: with lib; let
cfg = config.passthrough.catppuccin;
in mkIf cfg.enable {
# cursor theme
home.pointerCursor = { inherit (cfg.cursor) package name; };
gtk.cursorTheme = { inherit (cfg.cursor) package name; };
# gtk theme
gtk.theme = { inherit (cfg.gtk) package name; };
}