feat: drafted out zfs vdev, pool, and dataset implementations
This commit is contained in:
parent
2fd14e4cc0
commit
d8989bb43d
4 changed files with 551 additions and 10 deletions
|
|
@ -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 = {};
|
||||
};
|
||||
}));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue