From 8dfc56bedee868ec17bea6531cd22b7754b67eaa Mon Sep 17 00:00:00 2001 From: ChUrl Date: Tue, 22 Aug 2023 11:11:29 +0200 Subject: [PATCH] Remove bootloader timeout --- system/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/system/default.nix b/system/default.nix index 75b6b1b1..d192e670 100644 --- a/system/default.nix +++ b/system/default.nix @@ -88,12 +88,15 @@ with mylib.networking; { kernelParams = ["mitigations=off"]; # I don't care about security regarding spectre/meltdown # plymouth.enable = true; - loader.systemd-boot.enable = true; - loader.systemd-boot.configurationLimit = 60; - loader.systemd-boot.editor = false; - loader.systemd-boot.consoleMode = "max"; - loader.efi.canTouchEfiVariables = true; - loader.efi.efiSysMountPoint = "/boot/efi"; + loader = { + timeout = null; + systemd-boot.enable = true; + systemd-boot.configurationLimit = 5; + systemd-boot.editor = false; + systemd-boot.consoleMode = "max"; + efi.canTouchEfiVariables = true; + efi.efiSysMountPoint = "/boot/efi"; + }; # Make /tmp volatile tmp.useTmpfs = true;