From 22ed0117977629b683df34fc4d6281a23d8dfa76 Mon Sep 17 00:00:00 2001 From: polwex Date: Mon, 17 Nov 2025 21:47:25 +0700 Subject: m --- hosts/local/gui.nix | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'hosts/local/gui.nix') 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); + }; } -- cgit v1.2.3