From 0d3e25a344ecc931b77e2ae97b83e16b078e0365 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Sep 2015 14:39:27 +0200 Subject: Switched to labels & grub boot device --- ymir-hw.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'ymir-hw.nix') diff --git a/ymir-hw.nix b/ymir-hw.nix index cbb0d307..3ddf1035 100644 --- a/ymir-hw.nix +++ b/ymir-hw.nix @@ -14,22 +14,25 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e2d0b455-76a2-4e57-aff0-98d1fc2f7806"; + { + device = "/dev/disk/by-label/ymir-root"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/6e0ba525-114b-4998-952f-c859cf1471d6"; + { + device = "/dev/disk/by-label/ymir-boot"; fsType = "ext2"; }; fileSystems."/home" = - { device = "/dev/disk/by-uuid/4284cea9-9a3f-4ee3-8295-ebffa8f6622c"; + { + device = "/dev/disk/by-label/ymir-home"; fsType = "ext4"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/7957964d-aa60-44c4-9c59-9ae21fbca985"; } + [ { device = "/dev/disk/by-label/ymir-swap"; } ]; nix.maxJobs = 2; -- cgit v1.2.3