summaryrefslogtreecommitdiff
path: root/sys/core/bootloader.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-21 18:18:06 +0100
committeradikro <adikro@disroot.org>2025-12-21 18:18:06 +0100
commitf0a94a72d7f191120682e97130f8277cd56f82d0 (patch)
tree87336475393bf5c8bcd85067a8e64440cf86f0e0 /sys/core/bootloader.nix
parent022dc83ce35659caddaff1aa3d0d43ae1c8e4c0f (diff)
laptop commit
Diffstat (limited to 'sys/core/bootloader.nix')
-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;
+ };
};
})
];