nixos/grub: Add defaultText for font option

Fixes #62602.
This commit is contained in:
Alexei Robyn 2019-06-03 22:19:44 +10:00
parent ae71c13a92
commit fd9dec7177

View file

@ -360,6 +360,7 @@ in
font = mkOption {
type = types.nullOr types.path;
default = "${realGrub}/share/grub/unicode.pf2";
defaultText = ''"''${pkgs.grub2}/share/grub/unicode.pf2"'';
description = ''
Path to a TrueType, OpenType, or pf2 font to be used by Grub.
'';