[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. # Include the results of the hardware scan.
./tmux.nix ./tmux.nix
./wezterm.nix ./wezterm.nix
] ++ (if device.isLinux then [ ] ++ (if device.isLinux then [ ../linux ] else [ ]);
../linux
] else
[ ]);
home.packages = with pkgs; home.packages = with pkgs;
[ [

View File

@@ -1,28 +1,26 @@
{ pkgs, ... }: { { pkgs, ... }: {
programs = { gtk = {
gtk = { enable = true;
enable = true; theme = {
theme = { name = "Catppuccin-Mocha-Standard-Mauve-Dark";
name = "Catppuccin-Mocha-Standard-Mauve-Dark"; package = pkgs.catppuccin-gtk.override {
package = pkgs.catppuccin-gtk.override { variant = "mocha";
variant = "mocha"; size = "standard";
size = "standard"; accents = [ "mauve" ];
accents = [ "mauve" ]; tweaks = [ "normal" ];
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; };
}; };
} }