Prepare lake2 config after bootstrap

The disk ID is different under NixOS.
This commit is contained in:
Rodrigo Arias 2023-08-24 13:54:22 +02:00
parent 58c1cc1f7c
commit a19347161f

View File

@ -3,12 +3,11 @@
{ {
imports = [ imports = [
../common/main.nix ../common/main.nix
(modulesPath + "/installer/netboot/netboot-minimal.nix")
]; ];
# For now we install NixOS in the first nvme disk (nvme0n1), as this node only # For now we install NixOS in the first nvme disk (nvme0n1), as this node only
# has one SSD already used for SUSE. # 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; [ environment.systemPackages = with pkgs; [
ceph ceph