[feat] Only enable certain configs on linux

This commit is contained in:
Uttarayan Mondal
2024-02-19 18:36:28 +05:30
parent 2c9691a79d
commit 935043e290
6 changed files with 196 additions and 161 deletions

26
config/nix/linux/gtk.nix Normal file
View File

@@ -0,0 +1,26 @@
{pkgs, ...}: {
programs.gtk = {
enable = pkgs.stdenv.isLinux;
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;};
};
}