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:
Payas Relekar 2023-07-27 21:05:32 +05:30
parent a1ca0a64b9
commit 7113f7b6ae

View file

@ -2,9 +2,9 @@
{
fonts = {
enableDefaultFonts = true;
enableDefaultPackages = true;
fontDir.enable = true;
fonts = with pkgs; [
packages = with pkgs; [
work-sans
ibm-plex
jetbrains-mono
@ -12,6 +12,9 @@
fira-code
emacs-all-the-icons-fonts
];
fontconfig.defaultFonts = { monospace = [ "JetBrains Mono" ]; };
fontconfig = {
enable = true;
defaultFonts = { monospace = [ "JetBrains Mono" ]; };
};
};
}