about summary refs log tree commit diff
path: root/home/profiles/fonts/default.nix
blob: 9dae86b530388378ae35dc6f68490532e043170a (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
{ 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
      sarasa-gothic
      #siji # TODO: bitmap font conflict
      jetbrains-mono
      twemoji-color-font
      emacs-all-the-icons-fonts
      nerd-fonts.iosevka
      nerd-fonts.jetbrains-mono
    ];

    fonts.fontconfig.enable = true;
  };
}