feat: drafted out zfs vdev, pool, and dataset implementations

This commit is contained in:
Leyla Becker 2025-11-05 10:56:04 -06:00
parent 2fd14e4cc0
commit d8989bb43d
4 changed files with 551 additions and 10 deletions

View file

@ -14,6 +14,7 @@ in {
datasets = lib.mkOption {
type = lib.types.attrsOf (lib.types.submodule impermanenceDatasetSubmodules);
default = {};
};
# TODO: this should just live under home-manager.users.<user>.storage.impermanence
@ -23,6 +24,7 @@ in {
# We should by default create the `local/home/${name}`, and `persist/home/${name}` datasets
datasets = lib.mkOption {
type = lib.types.attrsOf (lib.types.submodule impermanenceDatasetSubmodules);
default = {};
};
}));
};