From 4f344cc41562d8b2a2877b0330bd2253cb3837b4 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 19 Sep 2021 10:35:19 -0400 Subject: [PATCH] Use label ids on the default image --- README.org | 4 ++-- hosts/nixos/hardware.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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"; ]; }