diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-11-04 13:49:22 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-11-05 12:12:30 +0100 |
commit | c0e2aceef46033e43ab8b4f6aa0b36b25ba35f3d (patch) | |
tree | c5406d4d167a91422d1cd280d4766a6f0a5b1213 /nixos/modules/config/fonts | |
parent | dcd2590c98725f8d519605ac6f731073fee372ef (diff) |
fontconfig: patch and document
Diffstat (limited to 'nixos/modules/config/fonts')
-rw-r--r-- | nixos/modules/config/fonts/fontconfig.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix index 2d7549aab6d7..4b6f9325fda0 100644 --- a/nixos/modules/config/fonts/fontconfig.nix +++ b/nixos/modules/config/fonts/fontconfig.nix @@ -49,8 +49,10 @@ with lib; </fontconfig> ''; - # Versioned fontconfig > 2.10. Only specify font directories. - + # Versioned fontconfig > 2.10. Take shared fonts.conf from fontconfig. + # Otherwise specify only font directories. + environment.etc."fonts/${pkgs.fontconfig.configVersion}/fonts.conf".source = + "${pkgs.fontconfig}/etc/fonts/fonts.conf"; environment.etc."fonts/${pkgs.fontconfig.configVersion}/conf.d/00-nixos.conf".text = '' <?xml version='1.0'?> |