From 1cc03bdcc34d7372acf7ef5eb7ed18d5c341ae0a Mon Sep 17 00:00:00 2001 From: Sergei Bulavintsev Date: Mon, 5 Aug 2024 16:15:57 +0300 Subject: [PATCH] fixup --- nix/systems/x86_64-linux/serverz/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/nix/systems/x86_64-linux/serverz/default.nix b/nix/systems/x86_64-linux/serverz/default.nix index ac0bde5..29dee60 100644 --- a/nix/systems/x86_64-linux/serverz/default.nix +++ b/nix/systems/x86_64-linux/serverz/default.nix @@ -11,13 +11,15 @@ in { ]; # Use the GRUB 2 boot loader. - boot.loader.grub.enable = true; - boot.loader.grub = { - # no need to set devices, disko will add all devices that have a EF02 partition to the list already - devices = ["/dev/sda2"]; - efiSupport = true; - efiInstallAsRemovable = true; - }; + boot.loader.grub.device = "nodev"; + # boot.loader.grub.enable = true; + # boot.loader.efi.canTouchEfiVariables = true; + # boot.loader.grub = { + # # no need to set devices, disko will add all devices that have a EF02 partition to the list already + # devices = ["/dev/sda2"]; + # efiSupport = true; + # efiInstallAsRemovable = true; + # }; # environment.systemPackages = with pkgs; [ # # Any particular packages only for this host