nixos/fontdir: always link the font directory
This fixes the fonts directory availability when not running an xserver, such as headless machines.
This commit is contained in:
parent
ec2383ef4f
commit
a27dc95e72
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue