catppuccin / nix

❄️ Soothing pastel theme for Nix

Home Page:https://nix.catppuccin.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GTK theme is not applied using home-manager

ajmasia opened this issue · comments

I'm testing in home-manager and theme is not been applied using flake: (icons are working)

imagen

It must be displayed in dark mode and with the theme applied.

theming.nix

{ config, pkgs, ... }:

{
  catppuccin = {
    accent = "lavender";
    flavor = "macchiato";

    pointerCursor.enable = true;
    pointerCursor.accent = "lavender";
    pointerCursor.flavor = "macchiato";
  };

  gtk = with pkgs; {
    enable = true;

    font = {
      name = "Cantarell";
      size = 12;
      package = cantarell-fonts;
    };

    # https://nix.catppuccin.com/index.html
    catppuccin = {
      enable = true;

      flavor = "macchiato";
      accent = "lavender";

      icon.enable = true;
      icon.accent = "lavender";
      icon.flavor = "macchiato";
    };

    gtk3.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
    };

    gtk4.extraConfig = {
      gtk-application-prefer-dark-theme = 1;
    };
  };

  qt = with pkgs; {
    enable = true;

    platformTheme.name = "kvantum";
    style = {
      name = "kvantum";

      catppuccin = {
        enable = true;

        flavor = "macchiato";
        accent = "lavender";
      };
    };
  };

  dconf.settings = {
    "org/gnome/desktop/interface" = {
      color-scheme = "prefer-dark";
    };
  };

  home.packages = with pkgs; [
    pywal # theme color generator
  ];
}

Theme styles bad links
imagen

commented

fixed in 7bfda77. thanks!