From 2027d9ff1ad6c62bcb6279f6389b975c712903d3 Mon Sep 17 00:00:00 2001 From: Benedikt Ritter Date: Wed, 6 Nov 2024 09:47:09 +0100 Subject: [PATCH] modules (disko): Limit configurations visible in systemd boot --- modules/nixos/disko/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/nixos/disko/default.nix b/modules/nixos/disko/default.nix index 05c2740..2f78a0a 100644 --- a/modules/nixos/disko/default.nix +++ b/modules/nixos/disko/default.nix @@ -44,7 +44,10 @@ in { .devices; boot.loader = { - systemd-boot.enable = true; + systemd-boot = { + enable = true; + configurationLimit = 20; + }; efi.canTouchEfiVariables = true; }; })