From 778a3244fc2d9182b017877b878118421e281848 Mon Sep 17 00:00:00 2001 From: min Date: Sat, 14 Dec 2024 23:33:21 -0500 Subject: [PATCH] Zfs automatic snapshots --- nixos/hosts/eidola/zfs.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/hosts/eidola/zfs.nix b/nixos/hosts/eidola/zfs.nix index 530f7e6..43f43a4 100644 --- a/nixos/hosts/eidola/zfs.nix +++ b/nixos/hosts/eidola/zfs.nix @@ -10,6 +10,14 @@ autoScrub = { enable = true; }; + autoSnapshot = { + enable = true; + flags = "-v -p"; + frequent = 6; + daily = 3; + weekly = 2; + monthly = 2; + }; }; sops.secrets."terra-key" = {