summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/grub
diff options
context:
space:
mode:
authorEmily Ann Ediger <dje4321@gmail.com>2018-06-19 01:59:21 -0500
committerEmily Ann Ediger <dje4321@gmail.com>2018-06-19 01:59:21 -0500
commitae04fb01f8867c112fdbb7334de546875c31e117 (patch)
treeadb88b4ffbb70939d23e7faba22c27930019f86f /nixos/modules/system/boot/loader/grub
parent08691d0515a44097fcaf27f59d002805afd0e105 (diff)
downloadnixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar.gz
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar.bz2
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar.lz
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar.xz
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.tar.zst
nixlib-ae04fb01f8867c112fdbb7334de546875c31e117.zip
set default to type.str
Diffstat (limited to 'nixos/modules/system/boot/loader/grub')
-rw-r--r--nixos/modules/system/boot/loader/grub/grub.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index ee07d8657efd..f1da2f41b5c1 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -385,7 +385,7 @@ in
       };
 
       default = mkOption {
-        default = 0;
+        default = "0";
         type = types.str;
         description = ''
           Index of the default menu item to be booted.