From 4516ffff69d52356615a2123751fd8d226bcef40 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 14 May 2018 19:54:45 +0200 Subject: machines/katara: change to new SSD --- machines/profpatsch/katara.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'machines/profpatsch') diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix index 9a1fe88d..f9b7bc5b 100644 --- a/machines/profpatsch/katara.nix +++ b/machines/profpatsch/katara.nix @@ -16,20 +16,23 @@ in { # Kernel boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" ]; - boot.loader.grub.device = "/dev/sda"; - boot.initrd.luks.devices = [ { device = "/dev/sda2"; name = "cryptroot"; } ]; + boot.loader.grub.device = "/dev/disk/by-id/ata-CT500MX500SSD1_1809E130BEE8"; + boot.initrd.luks.devices = [ { + device = "/dev/disk/by-uuid/2e1c433f-4a54-4f04-9073-3639b66b975d"; + name = "cryptroot"; + } ]; ########### # Hardware fileSystems."/" = { - device = "/dev/dm-0"; + device = "/dev/disk/by-uuid/5339f027-df78-437b-8a4c-39b93abc40b9"; fsType = "btrfs"; - options = [ "ssd" ]; + options = [ "ssd" "subvol=/katarafs" ]; }; fileSystems."/boot" = { - device = "/dev/sda1"; + device = "/dev/disk/by-uuid/53042c4f-bbf2-418b-bf85-5d148ab5dda0"; fsType = "ext3"; }; -- cgit 1.4.1