add fonts
This commit is contained in:
parent
0fe2e334bb
commit
bb0abe5988
2 changed files with 41 additions and 0 deletions
|
@ -5,5 +5,6 @@
|
|||
imports = [
|
||||
./kde
|
||||
./documentation.nix
|
||||
./graphical/fonts.nix
|
||||
];
|
||||
}
|
||||
|
|
40
config/graphical/fonts.nix
Normal file
40
config/graphical/fonts.nix
Normal 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"
|
||||
];
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue