From 047b320b63ab30b1f8be233b4a3b1062ac178a51 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sat, 9 Dec 2023 10:15:39 -0800 Subject: [PATCH] rely on longer lived identifier for disks Usually it's a bad idea, but here the disk uuids are actually changing more often as we rebuild the VM. --- demo/homeassistant/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/homeassistant/hardware-configuration.nix b/demo/homeassistant/hardware-configuration.nix index fd95aa7..b94f3e7 100644 --- a/demo/homeassistant/hardware-configuration.nix +++ b/demo/homeassistant/hardware-configuration.nix @@ -16,7 +16,7 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/16ea7c88-d9d2-41bd-9698-d280700d4bcf"; + { device = "/dev/vda"; fsType = "ext4"; }; @@ -46,7 +46,7 @@ }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A462-8553"; + { device = "/dev/vdb2"; fsType = "vfat"; };