[feat] Fix gtk.nix

This commit is contained in:
uttarayan21
2024-02-19 20:40:33 +05:30
parent 0fc1c8b054
commit 67726f3120
2 changed files with 22 additions and 27 deletions

View File

@@ -7,10 +7,7 @@ in {
# Include the results of the hardware scan.
./tmux.nix
./wezterm.nix
] ++ (if device.isLinux then [
../linux
] else
[ ]);
] ++ (if device.isLinux then [ ../linux ] else [ ]);
home.packages = with pkgs;
[

View File

@@ -1,28 +1,26 @@
{ pkgs, ... }: {
programs = {
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Standard-Mauve-Dark";
package = pkgs.catppuccin-gtk.override {
variant = "mocha";
size = "standard";
accents = [ "mauve" ];
tweaks = [ "normal" ];
};
gtk = {
enable = true;
theme = {
name = "Catppuccin-Mocha-Standard-Mauve-Dark";
package = pkgs.catppuccin-gtk.override {
variant = "mocha";
size = "standard";
accents = [ "mauve" ];
tweaks = [ "normal" ];
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
accent = "mauve";
flavor = "mocha";
};
};
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders.override {
accent = "mauve";
flavor = "mocha";
};
};
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
};
}