From a19347161f91d47db2b1c5d9ae158aeeba3b8cd4 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 24 Aug 2023 13:54:22 +0200 Subject: [PATCH] Prepare lake2 config after bootstrap The disk ID is different under NixOS. --- m/lake2/configuration.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/m/lake2/configuration.nix b/m/lake2/configuration.nix index 37bd22a..1b89226 100644 --- a/m/lake2/configuration.nix +++ b/m/lake2/configuration.nix @@ -3,12 +3,11 @@ { imports = [ ../common/main.nix - (modulesPath + "/installer/netboot/netboot-minimal.nix") ]; # For now we install NixOS in the first nvme disk (nvme0n1), as this node only # has one SSD already used for SUSE. - boot.loader.grub.device = "/dev/disk/by-id/nvme-SNVMe_INTEL_SSDPE2MD02CVFT5281004L2P0KGN"; + boot.loader.grub.device = "/dev/disk/by-id/nvme-INTEL_SSDPE2MD020T4_CVFT5281004L2P0KGN"; environment.systemPackages = with pkgs; [ ceph