Compare commits
2 commits
3a90472a96
...
1047915cd2
Author | SHA1 | Date | |
---|---|---|---|
1047915cd2 | |||
3b3c1b2b76 |
2 changed files with 44 additions and 0 deletions
|
@ -329,6 +329,9 @@
|
||||||
};
|
};
|
||||||
} // self.colmenaHive.nodes;
|
} // self.colmenaHive.nodes;
|
||||||
|
|
||||||
|
hydraJobs = {
|
||||||
|
agate = self.nixosConfigurations.agate;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
// flake-utils.lib.eachDefaultSystem (
|
// flake-utils.lib.eachDefaultSystem (
|
||||||
system:
|
system:
|
||||||
|
|
|
@ -86,6 +86,47 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hdd1 = {
|
||||||
|
type = "disk";
|
||||||
|
device = "/dev/disk/by-id/ata-WUH721414ALE6L0_9KGEMPVL";
|
||||||
|
content = {
|
||||||
|
type = "gpt";
|
||||||
|
partitions = {
|
||||||
|
storage_p1 = {
|
||||||
|
size = "100%";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
hdd2 = {
|
||||||
|
type = "disk";
|
||||||
|
device = "/dev/disk/by-id/ata-WUH721414ALE6L0_X1G14ZNL";
|
||||||
|
content = {
|
||||||
|
type = "gpt";
|
||||||
|
partitions = {
|
||||||
|
storage_p2 = {
|
||||||
|
size = "100%";
|
||||||
|
content = {
|
||||||
|
type = "btrfs";
|
||||||
|
extraArgs = [
|
||||||
|
"-f"
|
||||||
|
"-d raid1"
|
||||||
|
"/dev/disk/by-partlabel/disk-hdd1-storage_p1"
|
||||||
|
];
|
||||||
|
subvolumes = {
|
||||||
|
"/storage" = {
|
||||||
|
mountOptions = [
|
||||||
|
"compress=zstd"
|
||||||
|
];
|
||||||
|
mountpoint = "/storage";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue