From 015e90cc63db72129eec9dbf8839204a39cbd0ea 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..90d6805 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.boot.loader.systemd-boot.editor) '' set superusers="" ''; };