From 8f8c5ab44cca6fa3354f91eed0daf0fd31dddbba Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Wed, 17 Jan 2024 17:52:47 +0000 Subject: [PATCH] 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. --- morph/lib/bootstrap-configuration.nix | 1 - nixos/modules/100tb.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/morph/lib/bootstrap-configuration.nix b/morph/lib/bootstrap-configuration.nix index f59385d1..650c4d9c 100644 --- a/morph/lib/bootstrap-configuration.nix +++ b/morph/lib/bootstrap-configuration.nix @@ -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 diff --git a/nixos/modules/100tb.nix b/nixos/modules/100tb.nix index 12bb4b35..997e82e1 100644 --- a/nixos/modules/100tb.nix +++ b/nixos/modules/100tb.nix @@ -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; -- GitLab