Fix fontconfig 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 GitHub
parent 4cb5578e82
commit e83c5ba8b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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