home: add gtk

This commit is contained in:
Bruno BELANYI 2021-05-09 01:01:36 +02:00
parent bf9de874ce
commit 5e193b3a42
2 changed files with 35 additions and 0 deletions

View file

@ -11,6 +11,7 @@
./gammastep.nix
./git
./gpg.nix
./gtk.nix
./htop.nix
./jq.nix
./nm-applet.nix

34
home/gtk.nix Normal file
View file

@ -0,0 +1,34 @@
{ 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";
size = 8;
};
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";
};
};
}