From 0b2274122da42f4473a1969612f7d53ad76a5ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 24 Sep 2019 16:46:43 +0200 Subject: [PATCH] feat(systemd-boot): only display last 5 generations --- systems/homeros/configuration.nix | 6 +++++- systems/scardanelli/configuration.nix | 6 +++++- systems/wilde/configuration.nix | 7 ++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/systems/homeros/configuration.nix b/systems/homeros/configuration.nix index d79ac05..2930e23 100644 --- a/systems/homeros/configuration.nix +++ b/systems/homeros/configuration.nix @@ -14,7 +14,11 @@ promptColours.success = "green"; }; - boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot = { + enable = true; + configurationLimit = 5; + }; + boot.loader.efi.canTouchEfiVariables = true; boot.kernelParams = [ diff --git a/systems/scardanelli/configuration.nix b/systems/scardanelli/configuration.nix index c60f4e0..af2e52f 100644 --- a/systems/scardanelli/configuration.nix +++ b/systems/scardanelli/configuration.nix @@ -18,7 +18,11 @@ in { promptColours.success = "yellow"; }; - boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot = { + enable = true; + configurationLimit = 5; + }; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "scardanelli"; diff --git a/systems/wilde/configuration.nix b/systems/wilde/configuration.nix index 08fab38..39376c6 100644 --- a/systems/wilde/configuration.nix +++ b/systems/wilde/configuration.nix @@ -20,7 +20,12 @@ virtualisation.docker.enable = lib.mkForce false; - boot.loader.systemd-boot.enable = true; + boot.loader.systemd-boot = { + enable = true; + configurationLimit = 5; + consoleMode = "max"; + }; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "wilde";