Change from mirror to snapraid with quirks

This commit is contained in:
Raphaël Numbus
2026-01-25 13:16:46 +01:00
parent daa517a6bf
commit 1c1573c5b2
4 changed files with 96 additions and 119 deletions
+7 -2
View File
@@ -1,4 +1,3 @@
{ lib, ... }:
{
disko.devices = {
# Boot disk LVM configuration
@@ -12,6 +11,12 @@
content.format = "btrfs";
content.mountpoint = "/";
};
snapraid = {
size = "1G";
content.type = "filesystem";
content.format = "btrfs";
content.mountpoint = "/mnt/content-0";
};
swap = {
size = "16G";
content.type = "swap";
@@ -23,7 +28,7 @@
# Boot disk
"boot-1" = {
type = "disk";
device = "${BOOT_DISK_1_ID}";
device = "$BOOT_DISK_1_ID";
content = {
type = "gpt";
partitions = {