summary refs log tree commit diff
path: root/profiles/graphical.nix
blob: b284c0d27a4ae47eea38c161a8ccaeda78e90246 (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
52
53
54
55
56
57
58
59
{
  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";
        };
      };

      # gtk = {
      #   enable = true;
      #   font.name = "Victor Mono SemiBold 12";
      #   theme = {
      #     name = "SolArc-Dark";
      #     package = pkgs.solarc-gtk-theme;
      #   };
      # };=>

      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";
        };
      };
    };
  };
}