diff --git a/README.org b/README.org index 97a06e0..fd90712 100644 --- a/README.org +++ b/README.org @@ -553,12 +553,12 @@ The file system for this host is a single 24GB =QCOW= file, a format for disk im boot.loader.grub.device = "/dev/sda"; fileSystems."/" = - { device = "/dev/disk/by-uuid/fddc37ff-a442-41fa-afc4-abf878be7c5a"; + { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/5fc0e3df-e796-4fe2-8482-c6acaed9d36f"; } + [ { device = "/dev/disk/by-label/swap"; ]; } #+END_SRC diff --git a/hosts/nixos/hardware.nix b/hosts/nixos/hardware.nix index ae7166a..f66adbe 100644 --- a/hosts/nixos/hardware.nix +++ b/hosts/nixos/hardware.nix @@ -21,6 +21,6 @@ }; swapDevices = - [ { device = "/dev/disk/by-label/swap"; } + [ { device = "/dev/disk/by-label/swap"; ]; }