mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
17 lines
422 B
Nix
17 lines
422 B
Nix
{ realPkgs, ... }:
|
|
|
|
{
|
|
fonts.fontconfig.enable = true;
|
|
|
|
# Use `realPkgs` here since the creation of the fontconfig cache relies on the
|
|
# `fc-cache` binary and actual (non-stubbed) fonts.
|
|
test.unstubs = [ (self: super: { inherit (realPkgs) fontconfig; }) ];
|
|
home.packages = [
|
|
realPkgs.comic-relief
|
|
realPkgs.unifont
|
|
];
|
|
|
|
nmt.script = ''
|
|
assertDirectoryNotEmpty home-path/lib/fontconfig/cache
|
|
'';
|
|
}
|