diff options
author | Profpatsch <mail@profpatsch.de> | 2018-05-14 19:54:45 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2018-05-23 15:11:30 +0200 |
commit | 4516ffff69d52356615a2123751fd8d226bcef40 (patch) | |
tree | 22d69b14a0d7f10c13649bbbb5748726c4b6530e | |
parent | 660940f2d58509e171ab83e6680f4128e6b6074f (diff) |
machines/katara: change to new SSD
-rw-r--r-- | machines/profpatsch/katara.nix | 13 |
1 files changed, 8 insertions, 5 deletions
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"; }; |