1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

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.main}";
content = with lib.disko.gpt; {
type = "table";
format = "gpt";
partitions = [
(partGrub "grub" "0%" "1MiB")
(partEfi "bios" "1MiB" "512MiB")
(partLuksZfs disks.main "rpool" "512MiB" "100%")
];
type = "gpt";
partitions = {
grub = partGrub "0%" "1MiB";
bios = partEfi "1MiB" "512MiB";
"rpool_${disks.main}" = partLuksZfs disks.main "rpool" "512MiB" "100%";
};
};
};
};