forked from M-Labs/it-infra
nixbld: turn on zfs autosnapshot
This commit is contained in:
parent
d2f7181a1f
commit
2cdff2b132
|
@ -30,6 +30,7 @@ in
|
||||||
boot.supportedFilesystems = ["zfs"];
|
boot.supportedFilesystems = ["zfs"];
|
||||||
|
|
||||||
services.zfs.autoScrub.enable = true;
|
services.zfs.autoScrub.enable = true;
|
||||||
|
services.zfs.autoSnapshot.enable = true;
|
||||||
fileSystems."/tank" = {
|
fileSystems."/tank" = {
|
||||||
device = "tank";
|
device = "tank";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
|
Loading…
Reference in New Issue