storage-refactor #9

Open
jan-leila wants to merge 45 commits from storage-refactor into main
Showing only changes of commit a0807b014c - Show all commits

View file

@ -53,13 +53,6 @@ in {
relatime = "off"; relatime = "off";
}; };
}; };
replicate = {
"system/var/log" = {
impermanence.enable = false;
type = "zfs_fs";
mount = "/var/log";
};
};
}; };
}) })
(lib.mkIf (config.storage.zfs.enable && config.storage.impermanence.enable) { (lib.mkIf (config.storage.zfs.enable && config.storage.impermanence.enable) {
@ -107,6 +100,12 @@ in {
autoSnapshot = true; autoSnapshot = true;
}; };
}; };
"system/var/log" = {
type = "zfs_fs";
directories = {
"/var/log".enable = true;
};
};
}; };
}; };