apply new nix fmt specification

This commit is contained in:
Noah Masur
2024-04-13 09:03:44 -04:00
parent e8e0c97e59
commit 07137fdd91
23 changed files with 280 additions and 203 deletions

View File

@ -1,4 +1,5 @@
{ disk, ... }: {
{ disk, ... }:
{
disk = {
boot = {
type = "disk";

View File

@ -1,4 +1,5 @@
{ pool, disks, ... }: {
{ pool, disks, ... }:
{
disk = lib.genAttrs disks (disk: {
"${disk}" = {
type = "disk";
@ -6,16 +7,18 @@
content = {
type = "table";
format = "gpt";
partitions = [{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";
content = {
type = "zfs";
pool = pool;
};
}];
partitions = [
{
type = "partition";
name = "zfs";
start = "128MiB";
end = "100%";
content = {
type = "zfs";
pool = pool;
};
}
];
};
};
});