home: setup base icon theme for gtk2
This commit is contained in:
parent
b336329199
commit
5ebc6a0541
|
@ -102,6 +102,10 @@ in {
|
|||
programs.nm-applet.enable = true;
|
||||
programs.steam.enable = true;
|
||||
|
||||
# this is necessary to set GTK stuff in home manager
|
||||
# FIXME: better interdependency between this and the home part
|
||||
programs.dconf.enable = true;
|
||||
|
||||
# NOTE: needed for home emacs configuration
|
||||
nixpkgs.config.input-fonts.acceptLicense = true;
|
||||
};
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
./fish
|
||||
./flameshot.nix
|
||||
./git.nix
|
||||
./gtk.nix
|
||||
./laptop.nix
|
||||
./lorri.nix
|
||||
./mail.nix
|
||||
|
|
36
home/gtk.nix
Normal file
36
home/gtk.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.my.home.gtk;
|
||||
in {
|
||||
options.my.home.gtk = with lib; {
|
||||
enable = (mkEnableOption "GTK configuration") // {default = config.my.home.x.enable;};
|
||||
};
|
||||
|
||||
config.gtk = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
|
||||
font = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
|
||||
gtk2 = {
|
||||
# No garbage polluting my $HOME
|
||||
configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
};
|
||||
|
||||
iconTheme = {
|
||||
package = pkgs.gnome.gnome-themes-extra;
|
||||
name = "Adwaita";
|
||||
};
|
||||
|
||||
theme = {
|
||||
package = pkgs.gnome.gnome-themes-extra;
|
||||
name = "Adwaita";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue