feat: added more development notes
This commit is contained in:
parent
adc6b90c93
commit
0de97fa4a2
2 changed files with 20 additions and 3 deletions
|
|
@ -59,6 +59,13 @@ in {
|
|||
|
||||
config = lib.mkIf config.storage.impermanence.enable (lib.mkMerge [
|
||||
{
|
||||
assertions = [
|
||||
{
|
||||
assertion = config.storage.zfs.enable;
|
||||
message = "storage.impermanence can not be used without storage.zfs.";
|
||||
}
|
||||
];
|
||||
|
||||
environment.persistence =
|
||||
lib.mapAttrs (datasetName: dataset: {
|
||||
enable = true;
|
||||
|
|
@ -77,8 +84,12 @@ in {
|
|||
}) (lib.filterAttrs (_: fileConfig: fileConfig.enable) dataset.files);
|
||||
})
|
||||
config.storage.impermanence.datasets;
|
||||
# TODO: need for boot on filesystems
|
||||
}
|
||||
(lib.mkIf config.storage.zfs.enable {
|
||||
# TODO: activationScripts config for private folders
|
||||
# TODO: rollback post resume
|
||||
# TODO: fuse userAllowOther
|
||||
storage.zfs.datasets =
|
||||
lib.mapAttrs (
|
||||
datasetName: dataset:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue