mirror systemd-boot editor setting onto grub

This commit is contained in:
notgne2 2023-04-08 15:44:05 -07:00
parent dad156a849
commit 015e90cc63
Signed by: notgne2
SSH Key Fingerprint: SHA256:qlFCAimT/PvNIG3u+aYT9pIqFCWgu6sNsWjpV1vHLIE

View File

@ -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=""
'';
};