chore: miscellaneous necessary refactors post-update

This commit is contained in:
oddlama 2024-03-02 14:06:34 +01:00
parent 6ce119d871
commit 5aad6c3a84
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
11 changed files with 48 additions and 73 deletions

View file

@ -11,13 +11,12 @@ in {
type = "disk";
device = "/dev/disk/by-id/${disks.m2-ssd}";
content = with lib.disko.gpt; {
type = "table";
format = "gpt";
partitions = [
(partEfi "efi" "0%" "1GiB")
(partSwap "swap" "1GiB" "17GiB")
(partLuksZfs disks.m2-ssd "rpool" "17GiB" "100%")
];
type = "gpt";
partitions = {
efi = partEfi "0%" "1GiB";
swap = partSwap "1GiB" "17GiB";
"rpool_${disks.m2-ssd}" = partLuksZfs disks.m2-ssd "rpool" "17GiB" "100%";
};
};
};
};