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:
parent
6ce119d871
commit
5aad6c3a84
11 changed files with 48 additions and 73 deletions
|
@ -12,12 +12,11 @@ in {
|
|||
type = "disk";
|
||||
device = "/dev/disk/by-id/${disks.m2-ssd-1}";
|
||||
content = with lib.disko.gpt; {
|
||||
type = "table";
|
||||
format = "gpt";
|
||||
partitions = [
|
||||
(partEfi "efi" "0%" "1GiB")
|
||||
(partLuksZfs disks.m2-ssd-1 "rpool" "1GiB" "100%")
|
||||
];
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
efi = partEfi "0%" "1GiB";
|
||||
"rpool_${disks.m2-ssd-1}" = partLuksZfs disks.m2-ssd-1 "rpool" "1GiB" "100%";
|
||||
};
|
||||
};
|
||||
};
|
||||
${disks.m2-ssd-2} = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue