diff options
Diffstat (limited to 'hosts/local/gui.nix')
| -rw-r--r-- | hosts/local/gui.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/hosts/local/gui.nix b/hosts/local/gui.nix index 4de3358..9785855 100644 --- a/hosts/local/gui.nix +++ b/hosts/local/gui.nix @@ -87,4 +87,41 @@ in { XMODIFIERS = "@im=fcitx"; FCITX_SOCKET = "default"; }; + + fonts = { + enableDefaultPackages = true; + fontconfig = { + defaultFonts.emoji = ["Noto Color Emoji"]; + defaultFonts.monospace = ["Hack" "Sarasa Mono SC"]; + defaultFonts.sansSerif = ["DejaVu Sans"]; + defaultFonts.serif = ["DejaVu Serif" "Source Han Serif SC"]; + }; + packages = with pkgs; + [ + fira-code + fira + cooper-hewitt + ibm-plex + jetbrains-mono + iosevka + spleen + fira-code-symbols + powerline-fonts + arphic-ukai + arphic-uming + dejavu_fonts + font-awesome + inconsolata # monospaced + noto-fonts + noto-fonts-cjk-sans + noto-fonts-color-emoji + powerline-fonts + source-han-sans + source-sans-pro + ubuntu-classic + wqy_microhei + wqy_zenhei + ] + ++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts); + }; } |
