nixos/fontdir: always link the font directory
This fixes the fonts directory availability when not running an xserver, such as headless machines. (cherry picked from commit a27dc95e72b5671df59e04853aa48a50d65f2031)
This commit is contained in:
parent
b31ab18db6
commit
36d4e53859
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user