add fonts

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-09 15:06:57 +01:00
parent 0fe2e334bb
commit bb0abe5988
2 changed files with 41 additions and 0 deletions

View file

@ -5,5 +5,6 @@
imports = [
./kde
./documentation.nix
./graphical/fonts.nix
];
}

View file

@ -0,0 +1,40 @@
{ pkgs, ... }:
{
fonts = {
fontDir.enable = true;
fontconfig = {
enable = true;
defaultFonts = {
emoji = [ "Noto Color Emoji" ];
monospace = [
"Fira Code"
"Font Awesome 5 Free"
];
sansSerif = [
"Noto Sans"
"Font Awesome 5 Free"
];
serif = [
"Noto Serif"
"Font Awesome 5 Free"
];
};
};
packages = with pkgs; [
fira-code
fira-code-symbols
font-awesome
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
(nerdfonts.override {
fonts = [
"FiraCode"
"DroidSansMono"
"Noto"
];
})
];
};
}