flake/hosts/aristotle/home/theme.nix
2024-07-17 10:16:20 +08:00

38 lines
895 B
Nix

{
pkgs,
config,
lib,
...
}: {
home.pointerCursor = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
size = 24;
gtk.enable = true;
};
gtk = {
enable = true;
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
gtk3.bookmarks = [
"file://${config.home.homeDirectory}/Documents/Projects/git-repos/github.com/Guanran928/flake"
];
iconTheme = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
};
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
};
dconf.settings."org/gnome/desktop/interface"."color-scheme" = "prefer-dark";
# ??? 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;
}