Skip to content

Commit

Permalink
nixos/tests: fix x11 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Ringer committed Sep 30, 2020
1 parent 20529db commit 35f77fc
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions nixos/modules/config/fonts/fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,21 @@ with lib;
config = {

fonts.fonts = mkIf config.fonts.enableDefaultFonts
[
pkgs.xorg.fontbhlucidatypewriter100dpi
pkgs.xorg.fontbhlucidatypewriter75dpi
([
pkgs.dejavu_fonts
pkgs.freefont_ttf
pkgs.gyre-fonts # TrueType substitutes for standard PostScript fonts
pkgs.liberation_ttf
pkgs.xorg.fontbh100dpi
pkgs.xorg.fontmiscmisc
pkgs.xorg.fontcursormisc
pkgs.unifont
pkgs.noto-fonts-emoji
];
] ++ lib.optionals (config.nixpkgs.config.allowUnfree or false) [
# these are unfree, and will make usage with xserver fail
pkgs.xorg.fontbhlucidatypewriter100dpi
pkgs.xorg.fontbhlucidatypewriter75dpi
pkgs.xorg.fontbh100dpi
]);

};

Expand Down

0 comments on commit 35f77fc

Please sign in to comment.