infra/roles/zfs.nix
Jörg Thalheim c8ab60c209
fix eval
2021-06-08 11:10:16 +02:00

10 lines
280 B
Nix

{...}: {
services.zfs = {
autoSnapshot.enable = true;
# defaults to 12, which is a bit much given how much data is written
autoSnapshot.monthly = 1;
autoScrub.enable = true;
};
# zfs is not available for latest lts kenrel
boot.zfs.enableUnstable = true;
}