diff options
| author | polwex <polwex@sortug.com> | 2025-11-17 21:47:25 +0700 |
|---|---|---|
| committer | polwex <polwex@sortug.com> | 2025-11-17 21:47:25 +0700 |
| commit | 22ed0117977629b683df34fc4d6281a23d8dfa76 (patch) | |
| tree | 669aa7d88464c4a3586df8037ef095bb03682799 /hosts/local/gui.nix | |
| parent | dd3682963d46db7497d9f0789fffd8491af041f6 (diff) | |
m
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); + }; } |
