flake/hosts/aristotle/home/theme.nix

53 lines
1.2 KiB
Nix
Raw Normal View History

2023-11-05 11:26:09 +00:00
{
pkgs,
config,
lib,
2023-11-05 11:26:09 +00:00
...
}: {
home.pointerCursor = {
name = "Adwaita";
2024-07-07 12:25:57 +00:00
package = pkgs.adwaita-icon-theme;
2023-11-05 11:26:09 +00:00
size = 24;
gtk.enable = true;
2023-11-05 11:26:09 +00:00
};
gtk = {
enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
gtk3.bookmarks = [
2024-07-20 04:15:17 +00:00
"file://${config.home.homeDirectory}/Documents/Projects/flake"
];
2023-11-05 11:26:09 +00:00
iconTheme = {
name = "Adwaita";
2024-07-07 12:25:57 +00:00
package = pkgs.adwaita-icon-theme;
2023-11-05 11:26:09 +00:00
};
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
2023-11-05 11:26:09 +00:00
};
2024-07-17 03:35:59 +00:00
dconf.settings = {
"org/gnome/desktop/interface" = {
"color-scheme" = "prefer-dark";
};
# Make GTK listen to fontconfig
"org/gnome/desktop/wm/preferences" = {
"titlebar-font" = "Sans Bold 11";
};
"org/gnome/desktop/interface" = {
"font-name" = "Sans 11";
"document-font-name" = "Sans 11";
"monospace-font-name" = "Monospace 10";
};
};
# ??? this commit broke nautilus's spacing ???
# https://github.com/nix-community/home-manager/commit/e9b9ecef4295a835ab073814f100498716b05a96
xdg.configFile."gtk-4.0/gtk.css".text = lib.mkForce config.gtk.gtk4.extraCss;
2023-11-05 11:26:09 +00:00
}