This repository has been archived on 2023-07-23. You can view files and clone it, but cannot push or open issues or pull requests.
gpd-configurations/global/font-configuration.nix
2023-07-04 16:53:01 +08:00

40 lines
712 B
Nix

{ pkgs, ... }: {
fonts = {
fontDir.enable = true;
fonts = with pkgs;[
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
source-han-sans
source-han-serif
source-han-mono
source-code-pro
font-awesome_5
powerline-fonts
powerline-symbols
(nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
];
fontconfig.cache32Bit = true;
fontconfig.defaultFonts = {
serif = [
"Source Han Serif SC"
];
sansSerif = [
"Source Han Sans SC"
];
monospace = [
"Fira Code"
"Source Han Mono SC"
];
};
};
}