diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:22:29 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-02-12 13:23:58 -0800 |
| commit | 60da6bc47620681b557ea2d105df87b22382efcd (patch) | |
| tree | 000a2c858a5bbcd9d0e9ed1c5bd57546420f65d0 /users/fcuny/desktop/gtk.nix | |
| parent | home-manager: last typo (diff) | |
| download | infra-60da6bc47620681b557ea2d105df87b22382efcd.tar.gz | |
home-manager: re-organize configuration for myself
Diffstat (limited to 'users/fcuny/desktop/gtk.nix')
| -rw-r--r-- | users/fcuny/desktop/gtk.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/users/fcuny/desktop/gtk.nix b/users/fcuny/desktop/gtk.nix new file mode 100644 index 0000000..492c331 --- /dev/null +++ b/users/fcuny/desktop/gtk.nix @@ -0,0 +1,36 @@ +{ config, lib, pkgs, ... }: + +{ + # This is required for the gtk configuration below + home.packages = [ + pkgs.gnome3.dconf + ]; + + gtk = { + enable = true; + theme.name = "Adwaita"; + iconTheme = { + name = "Adwaita"; + package = pkgs.gnome3.adwaita-icon-theme; + }; + + gtk2 = { + extraConfig = '' + gtk-application-prefer-dark-theme = true + gtk-xft-antialias = 1 + gtk-xft-hinting = 1 + gtk-xft-hintstyle = "hintslight" + gtk-cursor-theme-size = cursorSize + ''; + }; + + gtk3 = { + extraConfig = { + gtk-application-prefer-dark-theme = true; + gtk-xft-antialias = 1; + gtk-xft-hinting = 1; + gtk-xft-hintstyle = "hintslight"; + }; + }; + }; +} |
