diff --git a/common.nix b/common.nix index 447de41..c1cc78e 100644 --- a/common.nix +++ b/common.nix @@ -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.systemd-boot.editor) '' set superusers="" ''; };