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 = {
|
boot.loader = {
|
||||||
efi.canTouchEfiVariables = lib.mkDefault true;
|
efi.canTouchEfiVariables = lib.mkDefault true;
|
||||||
systemd-boot.editor = lib.mkDefault false;
|
systemd-boot.editor = lib.mkDefault false;
|
||||||
grub.extraConfig = ''
|
grub.extraConfig = lib.mkIf (!config.boot.loader.systemd-boot.editor) ''
|
||||||
set superusers=""
|
set superusers=""
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue