renamed gtk to more apth theming system module
This commit is contained in:
50
modules/system/theming/gtk.nix
Normal file
50
modules/system/theming/gtk.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user