nixos/fontconfig: add test for allowBitmaps

This commit is contained in:
David Flatz 2025-10-10 11:01:53 +02:00
parent 27655f0a88
commit 62cf69dfac
2 changed files with 18 additions and 0 deletions

View file

@ -566,6 +566,7 @@ in
fluent-bit = runTest ./fluent-bit.nix;
fluentd = runTest ./fluentd.nix;
fluidd = runTest ./fluidd.nix;
fontconfig-bitmap-fonts = runTest ./fontconfig-bitmap-fonts.nix;
fontconfig-default-fonts = runTest ./fontconfig-default-fonts.nix;
forgejo = import ./forgejo.nix {
inherit runTest;

View file

@ -0,0 +1,17 @@
{ lib, ... }:
{
name = "fontconfig-bitmap-fonts";
nodes.machine =
{ config, pkgs, ... }:
{
fonts.packages = [
pkgs.terminus_font
];
fonts.fontconfig.allowBitmaps = true;
};
testScript = ''
machine.succeed("fc-list | grep Terminus")
'';
}