Fonts: Difference between revisions

imported>Feliix42
Adapt instructions for 20.09, overriding the nerdfont selection does not require an overlay anymore
imported>Artturin
Consistency and the override doesn't need to be multiline and it looks better
Line 26: Line 26:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
{ pkgs, ... }:
fonts.fonts = with pkgs; [
{
  (nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
 
];
  fonts.fonts = with pkgs; [
    (nerdfonts.override {
      fonts = [ "FiraCode" "DroidSansMono" ];
    })
  ];
}
</syntaxhighlight>
</syntaxhighlight>