renamed trantor's volumes
parent
d77f800e89
commit
9a9ccc3a9c
20
trantor.nix
20
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue