From c6bade5209b23fa539cea55404c4125099cfa73e Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 19 Sep 2021 14:00:42 +0000 Subject: [PATCH] Update 'hosts/nixos/hardware.nix' Use device tags Signed-off-by: Christopher James Hayward --- hosts/nixos/hardware.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/nixos/hardware.nix b/hosts/nixos/hardware.nix index 7e6d369..1175aaa 100644 --- a/hosts/nixos/hardware.nix +++ b/hosts/nixos/hardware.nix @@ -16,11 +16,11 @@ 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"; } ]; }