renamed trantor's volumes

feat/kile-v2
Ricard Illa 2022-01-25 12:34:22 +01:00
parent d77f800e89
commit 9a9ccc3a9c
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 10 additions and 10 deletions

View File

@ -24,25 +24,25 @@ in {
fileSystems = { fileSystems = {
"/" = { "/" = {
device = "/dev/mapper/cryptroot"; device = "/dev/mapper/system";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=root" "compress-force=zstd" ]; options = [ "subvol=root" "compress-force=zstd" ];
}; };
"/nix" = { "/nix" = {
device = "/dev/mapper/cryptroot"; device = "/dev/mapper/system";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" "compress-force=zstd" ]; options = [ "subvol=nix" "compress-force=zstd" ];
}; };
"/var/log" = { "/var/log" = {
device = "/dev/mapper/cryptroot"; device = "/dev/mapper/system";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=log" "compress-force=zstd" ]; options = [ "subvol=log" "compress-force=zstd" ];
}; };
"/home" = { "/home" = {
device = "/dev/mapper/crypthome"; device = "/dev/mapper/user";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=home" "compress-force=zstd" ]; options = [ "subvol=home" "compress-force=zstd" ];
}; };
@ -53,13 +53,13 @@ in {
}; };
"/home/rilla/Maildir" = { "/home/rilla/Maildir" = {
device = "/dev/mapper/crypthome"; device = "/dev/mapper/user";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=mail" "compress-force=zstd" ]; options = [ "subvol=mail" "compress-force=zstd" ];
}; };
"/swap" = { "/swap" = {
device = "/dev/mapper/cryptroot"; device = "/dev/mapper/system";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=swap" ]; options = [ "subvol=swap" ];
}; };
@ -116,18 +116,18 @@ in {
}; };
initrd = { initrd = {
luks.devices = { luks.devices = {
"cryptroot" = { "system" = {
device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb"; device = "/dev/disk/by-uuid/b9778e01-a86c-4c6b-beb3-f97888d4a6eb";
keyFile = "/root_keyfile.bin"; keyFile = "/root_keyfile.bin";
}; };
"crypthome" = { "user" = {
device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36"; device = "/dev/disk/by-uuid/d8e9b35d-704a-4f66-bc19-0dd3e158de36";
keyFile = "/home_keyfile.bin"; keyFile = "/home_keyfile.bin";
}; };
}; };
secrets = { secrets = {
"/root_keyfile.bin" = "/boot/root_keyfile.bin"; "/root_keyfile.bin" = "/boot/system_keyfile.bin";
"/home_keyfile.bin" = "/boot/home_keyfile.bin"; "/home_keyfile.bin" = "/boot/user_keyfile.bin";
}; };
}; };
}; };