about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-06-04 14:34:13 -0400
committerGitHub <noreply@github.com>2019-06-04 14:34:13 -0400
commit22039a182e5f70ea9770b20e0f91bb8da56dc2be (patch)
tree8617d09b36a2715317642d499c71e5bce9058156 /nixos/modules/system
parentbe042b9437ea95fc70c772c6cbc73b6e7bfd1b8f (diff)
parentfd9dec717710708cadbe0b1b9ae6bb1ac315c503 (diff)
downloadnixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar.gz
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar.bz2
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar.lz
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar.xz
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.tar.zst
nixlib-22039a182e5f70ea9770b20e0f91bb8da56dc2be.zip
Merge pull request #62606 from Shados/fix-62602
nixos/grub: Add defaultText for font option
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.
         '';