From 92db98ae6876edaff5ffaafb3ec42846fdcd3d45 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Sun, 15 Sep 2024 01:26:40 +0000 Subject: [PATCH] Change hardware config to point to labels instead of UUID --- hosts/vmware/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/vmware/hardware-configuration.nix b/hosts/vmware/hardware-configuration.nix index ac65933..ac5e2fd 100644 --- a/hosts/vmware/hardware-configuration.nix +++ b/hosts/vmware/hardware-configuration.nix @@ -38,12 +38,12 @@ }; fileSystems."/mnt" = - { device = "/dev/disk/by-uuid/cc7fc1f5-77b0-4fd6-89c2-dde99d6247ca"; + { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/mnt/boot" = - { device = "/dev/disk/by-uuid/73DE-6834"; + { device = "/dev/disk/by-label/boot"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; };