mirror systemd-boot editor setting onto grub
This commit is contained in:
parent
dad156a849
commit
015e90cc63
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue