forked from mirrors_public/oddlama_nix-config
chore: miscellaneous necessary refactors post-update
This commit is contained in:
parent
6ce119d871
commit
5aad6c3a84
11 changed files with 48 additions and 73 deletions
|
@ -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%";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue