From 9a9ccc3a9c4088ef80f05c5078e7648f705c6af3 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Tue, 25 Jan 2022 12:34:22 +0100 Subject: [PATCH] renamed trantor's volumes --- trantor.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/trantor.nix b/trantor.nix index 4cf4a40..515e116 100644 --- a/trantor.nix +++ b/trantor.nix @@ -24,25 +24,25 @@ in { fileSystems = { "/" = { - device = "/dev/mapper/cryptroot"; + device = "/dev/mapper/system"; fsType = "btrfs"; options = [ "subvol=root" "compress-force=zstd" ]; }; "/nix" = { - device = "/dev/mapper/cryptroot"; + device = "/dev/mapper/system"; fsType = "btrfs"; options = [ "subvol=nix" "compress-force=zstd" ]; }; "/var/log" = { - device = "/dev/mapper/cryptroot"; + device = "/dev/mapper/system"; fsType = "btrfs"; options = [ "subvol=log" "compress-force=zstd" ]; }; "/home" = { - device = "/dev/mapper/crypthome"; + device = "/dev/mapper/user"; fsType = "btrfs"; options = [ "subvol=home" "compress-force=zstd" ]; }; @@ -53,13 +53,13 @@ in { }; "/home/rilla/Maildir" = { - device = "/dev/mapper/crypthome"; + device = "/dev/mapper/user"; fsType = "btrfs"; options = [ "subvol=mail" "compress-force=zstd" ]; }; "/swap" = { - device = "/dev/mapper/cryptroot"; + device = "/dev/mapper/system"; fsType = "btrfs"; options = [ "subvol=swap" ]; }; @@ -116,18 +116,18 @@ in { }; initrd = { luks.devices = { - "cryptroot" = { + "system" = { device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb"; keyFile = "/root_keyfile.bin"; }; - "crypthome" = { + "user" = { device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36"; keyFile = "/home_keyfile.bin"; }; }; secrets = { - "/root_keyfile.bin" = "/boot/root_keyfile.bin"; - "/home_keyfile.bin" = "/boot/home_keyfile.bin"; + "/root_keyfile.bin" = "/boot/system_keyfile.bin"; + "/home_keyfile.bin" = "/boot/user_keyfile.bin"; }; }; };