fixed gtk theming to use gsettings

This commit is contained in:
2026-07-06 20:01:01 +01:00
parent 196170c8df
commit b8ac7247a5
3 changed files with 91 additions and 68 deletions

View File

@@ -0,0 +1,50 @@
{
self,
inputs,
...
}: {
flake.nixosModules.catppuccinGtk = {
pkgs,
lib,
...
}: let
modules = [
inputs.catppuccin.nixosModules.catppuccin
];
in {
environment.systemPackages = with pkgs; [
(catppuccin-gtk.override {
variant = "mocha";
accents = ["mauve"];
tweaks = ["rimless"];
size = "compact";
})
(catppuccin-papirus-folders.override {
flavor = "mocha";
accent = "mauve";
})
];
imports = modules;
catppuccin = {
enable = true;
autoEnable = false;
accent = "mauve";
flavor = "mocha";
gtk = {
icon.enable = true;
};
};
programs.dconf.profiles.user.databases = [
{
lockAll = false;
settings = {
"org/gnome/desktop/interface" = {
gtk-theme = "catppuccin-mocha-mauve-compact+rimless";
icon-theme = "Papirus";
color-scheme = "prefer-dark";
};
};
}
];
};
}