nix/misc/theme.nix
2024-07-12 15:42:35 +02:00

52 lines
1.1 KiB
Nix

{ pkgs, config, ... }:
{
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
jetbrains-mono
];
fontconfig.defaultFonts = {
serif = [ "JetBrains Mono NL" ];
sansSerif = [ "JetBrains Mono NL" ];
monospace = [ "JetBrains Mono NL" ];
};
};
home-manager.users.krizej = {
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
name = "aero-drop";
package = pkgs.win7-cursors;
};
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
iconTheme = {
name = "Vimix-Black";
package = pkgs.vimix-icon-theme;
};
gtk2.configLocation = "${config.home-manager.users.krizej.xdg.configHome}/gtk-2.0/gtkrc";
};
qt = {
enable = true;
platformTheme.name = "adwaita";
style = {
name = "adwaita-dark";
package = pkgs.adwaita-qt;
};
};
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
home.sessionVariables = {
GTK_USE_PORTAL = "1";
};
};
}