Merge pull request #141277 from NixOS/backport-140723-to-release-21.05
[Backport release-21.05] nixos/fontdir: always link the font directory
This commit is contained in:
commit
79c970a7bb
|
@ -50,9 +50,8 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
# This is enough to make a symlink because the xserver
|
|
||||||
# module already links all /share/X11 paths.
|
|
||||||
environment.systemPackages = [ x11Fonts ];
|
environment.systemPackages = [ x11Fonts ];
|
||||||
|
environment.pathsToLink = [ "/share/X11/fonts" ];
|
||||||
|
|
||||||
services.xserver.filesSection = ''
|
services.xserver.filesSection = ''
|
||||||
FontPath "${x11Fonts}/share/X11/fonts"
|
FontPath "${x11Fonts}/share/X11/fonts"
|
||||||
|
|
Loading…
Reference in New Issue