Browse Source

Use label ids on the default image

main
parent
commit
4f344cc415
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 4
      README.org
  2. 2
      hosts/nixos/hardware.nix

4
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"; boot.loader.grub.device = "/dev/sda";
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/fddc37ff-a442-41fa-afc4-abf878be7c5a";
{ device = "/dev/disk/by-label/nixos";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/5fc0e3df-e796-4fe2-8482-c6acaed9d36f"; }
[ { device = "/dev/disk/by-label/swap";
]; ];
} }
#+END_SRC #+END_SRC

2
hosts/nixos/hardware.nix

@ -21,6 +21,6 @@
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-label/swap"; }
[ { device = "/dev/disk/by-label/swap";
]; ];
} }
Loading…
Cancel
Save