1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

fonts: replace remaining reference to enableFontDir

see https://github.com/LnL7/nix-darwin/pull/456#issuecomment-1105472886

props to @jared-w for spotting my mistake
This commit is contained in:
Chris Montgomery 2022-04-24 13:36:19 -04:00
parent 2979028c51
commit 51e8b0b353
No known key found for this signature in database
GPG key ID: A6BA9BA2FDA7C997

View file

@ -43,7 +43,7 @@ in
done
'';
system.activationScripts.fonts.text = optionalString cfg.enableFontDir ''
system.activationScripts.fonts.text = optionalString cfg.fontDir.enable ''
# Set up fonts.
echo "configuring fonts..." >&2
find -L "$systemConfig/Library/Fonts" -type f -print0 | while IFS= read -rd "" l; do