summaryrefslogtreecommitdiff
path: root/sys/core
diff options
context:
space:
mode:
Diffstat (limited to 'sys/core')
-rw-r--r--sys/core/bootloader.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/sys/core/bootloader.nix b/sys/core/bootloader.nix
index 7293ffc..3564451 100644
--- a/sys/core/bootloader.nix
+++ b/sys/core/bootloader.nix
@@ -24,11 +24,17 @@ in
})
(lib.mkIf (cfg == "grub") {
- boot.loader.grub = {
- enable = true;
- device = "nodev";
- efiSupport = true;
- useOSProber = true;
+ boot.loader = {
+ timeout = 3;
+ efi.efiSysMountPoint = "/boot";
+ grub = {
+ enable = true;
+ device = "nodev";
+ efiSupport = true;
+ useOSProber = true;
+
+ default = 2;
+ };
};
})
];