about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/alpha/configuration.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/nixos/alpha/configuration.nix b/nixos/alpha/configuration.nix
index 329422e..a0f2e11 100644
--- a/nixos/alpha/configuration.nix
+++ b/nixos/alpha/configuration.nix
@@ -96,7 +96,10 @@
   services.zfs.autoScrub.enable = true;
   services.zfs.autoScrub.pools = [ "rpool" ];
 
-
+  # NOTE: `com.sun:auto-snapshot` property must be set to true on datasets you
+  # wish to snapshot
+  services.zfs.autoSnapshot.enable = true;
+  services.zfs.autoSnapshot.flags = "-k -p --utc";
 
   services.openssh.enable = true;
   services.openssh.settings.PasswordAuthentication = false;