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"];
|
2024-08-02 22:32:29 -04:00
|
|
|
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
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-31 19:16:06 -04:00
|
|
|
packages =
|
|
|
|
[
|
|
|
|
(pkgs.nerdfonts.override {
|
|
|
|
fonts = [
|
|
|
|
"JetBrainsMono"
|
|
|
|
"Go-Mono"
|
|
|
|
"Iosevka"
|
|
|
|
"NerdFontsSymbolsOnly"
|
|
|
|
"SpaceMono"
|
|
|
|
"Ubuntu"
|
|
|
|
"Noto"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
]
|
|
|
|
++ (builtins.attrValues {
|
|
|
|
inherit
|
|
|
|
(pkgs)
|
|
|
|
noto-fonts
|
2024-10-23 23:41:16 -04:00
|
|
|
noto-fonts-cjk-sans
|
2024-08-31 19:16:06 -04:00
|
|
|
noto-fonts-emoji
|
|
|
|
liberation_ttf
|
|
|
|
font-awesome
|
|
|
|
meslo-lgs-nf
|
|
|
|
jetbrains-mono
|
|
|
|
ubuntu_font_family
|
|
|
|
;
|
|
|
|
});
|
2023-10-15 16:47:26 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# Select internationalisation properties.
|
|
|
|
i18n.defaultLocale = "en_CA.UTF-8";
|
2023-12-20 03:47:52 -05:00
|
|
|
console.useXkbConfig = true;
|
2023-10-15 16:47:26 -04:00
|
|
|
}
|