feat: updated pool names

This commit is contained in:
Leyla Becker 2025-11-12 19:27:12 -06:00
parent ac0f1ce2e6
commit 1eb66d1c31
63 changed files with 81 additions and 78 deletions

View file

@ -170,7 +170,7 @@ in {
};
cache = lib.mkOption {
type = lib.types.listOf deviceType;
default = {};
default = [];
};
};
@ -264,7 +264,7 @@ in {
members = builtins.map (device: hashDisk device.device) vdev;
})
config.storage.zfs.pool.vdevs;
cache = builtins.map (device: hashDisk device.device) (builtins.attrValues config.storage.zfs.pool.cache);
cache = builtins.map (device: hashDisk device.device) config.storage.zfs.pool.cache;
};
};