From bdfe9a48fd0755492349e61d363b4fcec35167ad Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 21 Oct 2024 14:28:17 +0200 Subject: [PATCH] Use SSD for boot, then switch to NVME MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Aleix Boné --- m/hut/configuration.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/m/hut/configuration.nix b/m/hut/configuration.nix index b349877..66cc881 100644 --- a/m/hut/configuration.nix +++ b/m/hut/configuration.nix @@ -23,15 +23,21 @@ ]; # Select the this using the ID to avoid mismatches - boot.loader.grub.device = "/dev/disk/by-id/nvme-INTEL_SSDPED1D960GAY_PHMB81220017960EGN"; + boot.loader.grub.device = "/dev/disk/by-id/wwn-0x55cd2e414d53567f"; fileSystems = { "/" = lib.mkForce { - device = "/dev/disk/by-label/nixos-nvme"; + device = "/dev/disk/by-label/nvme"; fsType = "ext4"; neededForBoot = true; options = [ "noatime" ]; }; + + "/boot" = lib.mkForce { + device = "/dev/disk/by-label/nixos-boot"; + fsType = "ext4"; + neededForBoot = true; + }; }; networking = {