-
Notifications
You must be signed in to change notification settings - Fork 6
/
fonts.nix
34 lines (31 loc) · 923 Bytes
/
fonts.nix
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
# https://www.programmingfonts.org/
{pkgs, ...}: {
fonts = {
enableDefaultPackages = true;
fontDir.enable = true; # ls /run/current-system/sw/share/X11/fonts/
fontconfig = {
enable = true;
cache32Bit = true;
hinting.enable = true;
antialias = true;
defaultFonts = {
monospace = ["Source Code Pro"];
sansSerif = ["Roboto"];
serif = ["Roboto Slab"];
};
};
packages = with pkgs; [
terminus_font
source-sans-pro
roboto
cozette
# https://github.com/NixOS/nixpkgs/blob/master/pkgs/data/fonts/nerdfonts/shas.nix
(nerdfonts.override {fonts = ["Iosevka" "IBMPlexMono"];})
siji # https://github.com/stark/siji
ipafont # display jap symbols like シートベルツ in polybar
noto-fonts-emoji # emoji
source-code-pro
];
};
environment.systemPackages = with pkgs; [font-manager];
}