{ config, lib, pkgs, ... }: { options.chvp.graphical.theme.enable = lib.mkOption { default = false; example = true; }; config = lib.mkIf config.chvp.graphical.theme.enable { chvp.base.zfs.homeLinks = [{ path = ".config/qt5ct"; type = "cache"; }]; fonts = { fontDir.enable = true; fontconfig = { enable = true; defaultFonts = { emoji = [ "Noto Color Emoji" ]; # The Tinos and Amiro fonts overlap with Font Awesome's codepoints, so make sure we give Font Awesome a higher priority. monospace = [ "Hack" "Font Awesome 6 Free" ]; sansSerif = [ "Noto Sans" "Font Awesome 6 Free" ]; serif = [ "Noto Serif" "Font Awesome 6 Free" ]; }; }; packages = with pkgs; [ hack-font font-awesome noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra ]; }; programs.dconf.enable = true; home-manager.users.charlotte = { pkgs, ... }: { home.packages = [ pkgs.catppuccin-cursors.latteLight ]; home.file = { ".icons/default/index.theme".text = '' [Icon Theme] Name=Default Comment=Default Cursor Theme Inherits=Catppuccin-Latte-Light-Cursors ''; }; dconf.settings."org/gnome/desktop/wm/preferences".button-layout = ""; gtk = { enable = true; font = { package = pkgs.noto-fonts; name = "Noto Sans"; size = 10; }; gtk2.extraConfig = '' gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors" gtk-cursor-theme-size = 24 ''; gtk3 = { extraConfig = { gtk-cursor-theme-name = "Catppuccin-Latte-Light-Cursors"; gtk-cursor-theme-size = 24; }; }; iconTheme = { package = pkgs.libsForQt5.breeze-icons; name = "breeze"; }; theme = { package = pkgs.catppuccin-gtk.override { size = "compact"; variant = "latte"; }; name = "Catppuccin-Latte-Compact-Blue-Light"; }; }; qt = { enable = true; platformTheme = "qtct"; style = { name = "lightly"; package = pkgs.lightly-qt; }; }; }; }; }