fontconfig: fix paths for install as nixos-module

This fixes fonts breaking as a result of this change in nixos:

55344df089
This commit is contained in:
Malte Brandy 2018-05-31 18:34:25 +02:00 committed by Robert Helgesson
parent b1e0bfc771
commit 13b6955460
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -50,8 +50,8 @@ in
<?xml version='1.0'?> <?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig> <fontconfig>
<dir>/etc/per-user-pkgs/${config.home.username}/lib/X11/fonts</dir> <dir>/etc/profiles/per-user/${config.home.username}/lib/X11/fonts</dir>
<dir>/etc/per-user-pkgs/${config.home.username}/share/fonts</dir> <dir>/etc/profiles/per-user/${config.home.username}/share/fonts</dir>
</fontconfig> </fontconfig>
''; '';
}) })