diff options
author | William Carroll <wpcarro@gmail.com> | 2022-05-23T03·17-0700 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-05-27T22·41+0000 |
commit | e3530149c5939f16ffbc35588d62b84506079c24 (patch) | |
tree | 7dba3c41575d723d3c024df6be8d2ce3639b2ee2 /users/wpcarro/nixos/ava | |
parent | 534d7c34fccefbcedbf1d78f6d7e1f8677e326e8 (diff) |
refactor(wpcarro/ava): Prefer disk/by-label to disk/by-uuid r/4153
I broke LVM (Logical Volume Manager - maybe?) when I did the following: ```shell $ HOSTNAME=ava sudo rebuild-system $ sudo reboot now ``` I had to rollback to the initial NixOS version and try again. Change-Id: If90e5e23767392202425181be986f81deb5ddff7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5742 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/nixos/ava')
-rw-r--r-- | users/wpcarro/nixos/ava/hardware.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/wpcarro/nixos/ava/hardware.nix b/users/wpcarro/nixos/ava/hardware.nix index 9892bdc58185..4bfdca1cc55a 100644 --- a/users/wpcarro/nixos/ava/hardware.nix +++ b/users/wpcarro/nixos/ava/hardware.nix @@ -13,13 +13,13 @@ fileSystems."/" = { - device = "/dev/disk/by-uuid/60d92789-c44e-4620-885d-1d81d0759f1d"; + device = "/dev/disk/by-label/NIXROOT"; fsType = "ext4"; }; fileSystems."/boot" = { - device = "/dev/disk/by-uuid/C62C-9B32"; + device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; }; |