2021-05-09 01:01:36 +02:00
|
|
|
{ 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 = {
|
2022-01-25 15:42:32 +01:00
|
|
|
package = pkgs.gnome.gnome-themes-extra;
|
2021-05-09 01:01:36 +02:00
|
|
|
name = "Adwaita";
|
|
|
|
};
|
|
|
|
|
|
|
|
theme = {
|
2022-01-25 15:42:32 +01:00
|
|
|
package = pkgs.gnome.gnome-themes-extra;
|
2021-05-09 01:01:36 +02:00
|
|
|
name = "Adwaita";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|