From e230c68f3684c76b9d7905c378a57d28fbd31a25 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Sat, 8 Apr 2023 15:44:05 -0700 Subject: [PATCH] mirror systemd-boot editor setting onto grub --- common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 447de41..c1cc78e 100644 --- a/common.nix +++ b/common.nix @@ -10,7 +10,7 @@ all: { boot.loader = { efi.canTouchEfiVariables = lib.mkDefault true; systemd-boot.editor = lib.mkDefault false; - grub.extraConfig = '' + grub.extraConfig = lib.mkIf (!config.systemd-boot.editor) '' set superusers="" ''; };