Merge pull request #140723 from rnhmjoj/pr-fontdir-headless

nixos/fontdir: always link the font directory
This commit is contained in:
Michele Guerini Rocco 2021-10-11 19:42:19 +02:00 committed by GitHub
commit 02fc8c2367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,9 +50,8 @@ in
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.pathsToLink = [ "/share/X11/fonts" ];
services.xserver.filesSection = ''
FontPath "${x11Fonts}/share/X11/fonts"