summary refs log tree commit diff
path: root/profiles/graphical.nix
blob: 4340807e45f0a9ec7e45ba9e7837748b4b5b6ad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
  pkgs,
  lib,
  config,
  inputs,
  ...
}: {
  config = {
    programs.dconf.enable = true;
    home-manager.users.tzlil = {...}: {
      fonts.fontconfig.enable = true;

      home.packages = with pkgs; [
        iosevka
        gnome3.adwaita-icon-theme
        noto-fonts
        noto-fonts-emoji
        noto-fonts-cjk
      ];

      dconf.settings = {
        "org/gnome/desktop/interface" = {
          color-scheme = "prefer-dark";
        };
      };

      qt = {
        enable = true;
        style.name = "adawita-dark";
      };

      gtk = {
        theme.package = pkgs.gnome.gnome-themes-extra;
        theme.name = "Adwaita-dark";
        enable = true;
        gtk3.extraConfig = {
          gtk-application-prefer-dark-theme = 1;
          gtk-xft-hinting = 1;
          gtk-xft-hintstyle = "slight";
          gtk-xft-antialias = 1; # => font-antialiasing="grayscale"
          gtk-xft-rgba = "rgb"; # => font-rgb-order="rgb"
        };
        font = {
          #package = pkgs.noto-fonts;
          #name = "Noto Sans 11";
          name = "APL385 Unicode";
        };
      };
    };
  };
}