mirror systemd-boot editor setting onto grub
This commit is contained in:
parent
dad156a849
commit
015e90cc63
@ -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=""
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user