nix-config/home/gtk.nix
Bruno BELANYI 104a7a8d46 home: gtk: do not set font size
Turns out that I do not like how it interferes with Firefox's
rendering... I should probably investigate this in the future if I want
to use this option.
2021-05-16 00:03:59 +02:00

34 lines
655 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.gtk;
in
{
options.my.home.gtk = with lib; {
enable = mkEnableOption "GTK configuration";
};
config.gtk = lib.mkIf cfg.enable {
enable = true;
font = {
package = pkgs.dejavu_fonts;
name = "DejaVu Sans";
};
gtk2 = {
# That sweet, sweet clean home that I am always aiming for...
configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
};
iconTheme = {
package = pkgs.gnome3.gnome_themes_standard;
name = "Adwaita";
};
theme = {
package = pkgs.gnome3.gnome_themes_standard;
name = "Adwaita";
};
};
}