about summary refs log tree commit diff
path: root/home/profiles/fonts/default.nix
blob: 847cb7d6b9028ac44cf8a148d6aa834892fbdc58 (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
{ config, lib, pkgs, ... }:
let cfg = config.profiles.fonts;
in
{
  options.profiles.fonts = {
    enable = lib.mkEnableOption
      "A profile that installs extra fonts. (for Non-NixOS systems)";
  };

  config = lib.mkIf cfg.enable {
    home.packages = with pkgs; [
      dina-font
      iosevka-pure-bin
      readable-cherry
      sarasa-gothic
      scientifica
      #siji # TODO: bitmap font conflict
      jetbrains-mono
      twemoji-color-font
      emacs-all-the-icons-fonts
      (nerdfonts.override { fonts = [ "Iosevka" "JetBrainsMono" ]; })
    ];

    fonts.fontconfig.enable = true;
  };
}