{pkgs, ...}: let
  global = import ../global-var.nix;
in {
  nixpkgs.config.joypixels.acceptLicense = true;

  home-manager.users.${global.username} = {...}: {
    dconf.settings = {
      "org/gnome/desktop/interface" = {
        font-antialiasing = "rgba";
        font-hinting = "slight";
      };
    };
  };

  fonts = {
    packages = with pkgs; [
      noto-fonts
      noto-fonts-extra
      noto-fonts-cjk-sans # Chinese, Japanese, Korean fonts
      noto-fonts-cjk-serif
      joypixels # Oh no a propritery font, anways...
      (nerdfonts.override {fonts = ["Iosevka"];}) # Nerdfonts adds nice symbols
      ubuntu_font_family
      liberation_ttf
    ];

    # Should help some aplications find fonts
    fontDir.enable = true;
    fontconfig.hinting.style = "slight";
    fontconfig.subpixel.rgba = "rgb";
  };
}
