nixos-configs/common/modules/locale.nix

40 lines
815 B
Nix
Raw Normal View History

2023-11-22 15:33:16 -05:00
{pkgs, ...}: {
2023-10-15 16:47:26 -04:00
fonts = {
fontconfig = {
enable = true;
defaultFonts = {
2023-11-22 15:33:16 -05:00
emoji = ["Noto Color Emoji"];
monospace = ["JetBrainsMono Nerd Font"];
2023-11-22 15:33:16 -05:00
sansSerif = ["Noto Nerd Font"];
serif = ["Noto Nerd Font"];
2023-10-15 16:47:26 -04:00
};
};
packages = with pkgs; [
2023-11-22 15:33:16 -05:00
(nerdfonts.override {
fonts = [
"JetBrainsMono"
"Go-Mono"
"Iosevka"
"NerdFontsSymbolsOnly"
"SpaceMono"
"Ubuntu"
"Noto"
];
})
2023-10-15 16:47:26 -04:00
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
font-awesome
meslo-lgs-nf
jetbrains-mono
ubuntu_font_family
];
};
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
console.useXkbConfig = true;
2023-10-15 16:47:26 -04:00
}