From 1e48eabbc5f85b9e1cac2b7a839079413188aceb Mon Sep 17 00:00:00 2001 From: Jacob Hinkle Date: Mon, 12 Sep 2022 11:27:00 -0400 Subject: [PATCH] Add boot.loader.configurationLimit = 10 for buck --- machines/buck/configuration.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/machines/buck/configuration.nix b/machines/buck/configuration.nix index b96f4a2..d389a04 100644 --- a/machines/buck/configuration.nix +++ b/machines/buck/configuration.nix @@ -33,9 +33,17 @@ }; # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.loader.efi.efiSysMountPoint = "/boot/efi"; + boot.loader = { + systemd-boot = { + enable = true; + # limit number of configurations to save in the boot menu + configurationLimit = 10; + }; + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; + }; + }; networking.hostName = "buck"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.