fonts: Update as per upstream
I'll just say it right here. The 'fonts.fonts' thing really bugged me when I started out with NixOS and still annoyed me after. Its nice to see it made nicer, even if just for posterity.
This commit is contained in:
parent
a1ca0a64b9
commit
7113f7b6ae
1 changed files with 6 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultFonts = true;
|
enableDefaultPackages = true;
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
fonts = with pkgs; [
|
packages = with pkgs; [
|
||||||
work-sans
|
work-sans
|
||||||
ibm-plex
|
ibm-plex
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
@ -12,6 +12,9 @@
|
||||||
fira-code
|
fira-code
|
||||||
emacs-all-the-icons-fonts
|
emacs-all-the-icons-fonts
|
||||||
];
|
];
|
||||||
fontconfig.defaultFonts = { monospace = [ "JetBrains Mono" ]; };
|
fontconfig = {
|
||||||
|
enable = true;
|
||||||
|
defaultFonts = { monospace = [ "JetBrains Mono" ]; };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue