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 = {
|
||||
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" ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Reference in a new issue