summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorAlexei Robyn <shados@shados.net>2019-06-03 22:19:44 +1000
committerAlexei Robyn <shados@shados.net>2019-06-03 22:19:44 +1000
commitfd9dec717710708cadbe0b1b9ae6bb1ac315c503 (patch)
tree1ee83aeb6d6a698c58548502fed0fa722771bcf7 /nixos/modules/system
parentae71c13a92f7e3b7968e8b7b1db9f6238dc00a25 (diff)
nixos/grub: Add defaultText for font option
Fixes #62602.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/loader/grub/grub.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index 99aa7759c954..4e4d14985b0d 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -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.
'';