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
No known key found for this signature in database

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