From 3aebfcd1b7af2fc27cad7fea8858b510e82cf90f Mon Sep 17 00:00:00 2001 From: Sanjay Chacku Purakal <48321566+twoneis@users.noreply.github.com> Date: Sun, 2 Jun 2024 18:10:00 +0200 Subject: [PATCH] fixed disk uuids --- devices/pleniscenta/hardware-config.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/devices/pleniscenta/hardware-config.nix b/devices/pleniscenta/hardware-config.nix index 46517b8..2d7c409 100644 --- a/devices/pleniscenta/hardware-config.nix +++ b/devices/pleniscenta/hardware-config.nix @@ -3,7 +3,7 @@ initrd = { availableKernelModules = [ "ahci" "xhci_pci" "ums_realtek" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ]; kernelModules = [ ]; - luks.devices.cryptroot.device = "/dev/disk/by-uuid/XXXX-XXXX"; + luks.devices.cryptroot.device = "/dev/disk/by-uuid/470a6d23-9f08-4c4d-afbb-63d6df1ab6a6"; }; kernelModules = [ "kvm-intel" ]; extraModulePackages = [ ]; @@ -15,19 +15,22 @@ fsType = "vfat"; }; "/" = { - device = "/dev/disk/by-uuid/"; + device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0"; fsType = "btrfs"; options = [ "subvol=root" "compress=zstd" "noatime" ]; }; "/nix" = { + device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0"; fsType = "btrfs"; options = [ "subvol=nix" "compress=zstd" "noatime" ]; }; "/persist" = { + device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0"; fsType = "btrfs"; options = [ "subvol=persist" "compress=zstd" "noatime" ]; - }; + }; "/swap" = { + device = "/dev/disk/by-uuid/75e6536a-4836-4f50-86b3-f9250edca3c0"; fsType = "btrfs"; options = [ "subvol=swap" "noatime" ]; };