summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-10-18 12:54:23 +0200
committerAlex Auvolat <alex@adnab.me>2024-10-18 12:54:23 +0200
commit787140cccd8f424a191fe9d5338f6cde356f4a43 (patch)
tree96ed56a188e8fae3931be31191e407bd26aba0dd
parent0d0780a517eba4535a56900eecf52150142cbacb (diff)
downloaduser-config-787140cccd8f424a191fe9d5338f6cde356f4a43.tar.gz
user-config-787140cccd8f424a191fe9d5338f6cde356f4a43.zip
zfs auto snapshot home
-rw-r--r--nixos/kusanagi.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index d139d94..946e3a3 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -65,6 +65,8 @@ in
swapDevices = [ ];
+ services.zfs.autoSnapshot.enable = true;
+
# ---- tmpfs root filesystem with special persisted directory ----
fileSystems."/" = {