main #2

Merged
Lithospherical merged 42 commits from jan-leila/nix-config:main into main 2025-06-05 04:13:47 +00:00
Showing only changes of commit 795b9b010f - Show all commits

View file

@ -50,6 +50,11 @@ in {
};
};
pool = {
mode = lib.mkOption {
type = lib.types.str;
default = "raidz2";
description = "what level of redundancy should this pool have";
};
# list of drives in pool that will have a boot partition put onto them
bootDrives = lib.mkOption {
type = lib.types.listOf lib.types.str;
@ -207,7 +212,7 @@ in {
type = "topology";
vdev = (
builtins.map (disks: {
mode = "raidz2";
mode = config.host.storage.pool.mode;
members =
builtins.map (disk: disk.name) disks;
})