aboutsummaryrefslogtreecommitdiff
path: root/home-manager/general/themes/default.nix
blob: 9d88a418c0cb37fb8d756164e91fbeebce536e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{ pkgs, ... }:

let
  themePackage = pkgs.catppuccin-gtk.override {
    accents = [ "flamingo" ];
    size = "compact";
    tweaks = [ "rimless" ];
    variant = "macchiato";
  };
in
{
  gtk = {
    enable = true;
    theme = {
      package = themePackage;
      name = "Catppuccin-Macchiato-Compact-Flamingo-Dark";
    };
    cursorTheme = {
      package = pkgs.bibata-cursors;
      name = "Bibata-Modern-Ice";
    };
    iconTheme = {
      package = pkgs.rose-pine-icon-theme;
      name = "Rose-pine-moon";
    };
    gtk4.extraCss = builtins.readFile ./Catppuccin/gtk.css;
  };
  xdg.configFile = {
    "gtk-4.0/assets" = {
      source = ./Catppuccin/assets;
      target = "gtk-4.0/assets";
    };
    "gtk-4.0/gtk-dark" = {
      source = ./Catppuccin/gtk-dark.css;
      target = "gtk-4.0/gtk-dark.css";
    };
  };
  qt = {
    enable = true;
    platformTheme = "gtk";
  };
  home.packages = with pkgs; [
    gnome.adwaita-icon-theme
  ];
}