Skip to content
Snippets Groups Projects
Commit 8f8c5ab4 authored by Florian Sesser's avatar Florian Sesser
Browse files

Fix warning about Grub version

> trace: warning: The boot.loader.grub.version option does not have any effect anymore, please remove it from your configuration.
parent b56ac0b9
Branches
No related tags found
2 merge requests!442Merge develop into production,!439Upgrade nixos to 23.11
Pipeline #5719 passed
......@@ -87,7 +87,6 @@ in
# Configure the bootloader how we like.
boot.loader.timeout = 10;
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/disk/by-id/${grubDeviceID}";
# Let me in to do subsequent configuration. This makes the machine wide
......
......@@ -103,7 +103,6 @@ in {
# harder to deploy in the bootstrap environment.
config =
{ boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = if cfg.grubDeviceID == "nodev" then "nodev" else "/dev/disk/by-id/${cfg.grubDeviceID}";
boot.loader.timeout = 10;
networking.firewall.enable = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment