ma extra-fonts: use fontDir.enable

This commit is contained in:
makefu 2021-10-01 18:43:15 +02:00
parent 51ef988749
commit ae8958e542
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
fonts = { fonts = {
enableFontDir = true; fontDir.enable = true;
enableGhostscriptFonts = true; enableGhostscriptFonts = true;
fonts = with pkgs; [ fonts = with pkgs; [
inconsolata # monospaced inconsolata # monospaced

View File

@ -43,7 +43,7 @@ in
console.font = "Lat2-Terminus16"; console.font = "Lat2-Terminus16";
fonts = { fonts = {
enableFontDir = true; fontDir.enable = true;
enableGhostscriptFonts = true; enableGhostscriptFonts = true;
fonts = [ pkgs.terminus_font pkgs.corefonts ]; fonts = [ pkgs.terminus_font pkgs.corefonts ];
}; };