summaryrefslogtreecommitdiff
path: root/hosts/vidhar/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-28 21:53:32 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-28 21:53:32 +0100
commit7814d48a592140ad4e310ec9df79aa750e8672c8 (patch)
tree376a061be68c3f101edf9a275bebe0b3f8d59559 /hosts/vidhar/default.nix
parent3b5c7127ba57164fc60e3417cc2e04f58225ed41 (diff)
downloadnixos-7814d48a592140ad4e310ec9df79aa750e8672c8.tar
nixos-7814d48a592140ad4e310ec9df79aa750e8672c8.tar.gz
nixos-7814d48a592140ad4e310ec9df79aa750e8672c8.tar.bz2
nixos-7814d48a592140ad4e310ec9df79aa750e8672c8.tar.xz
nixos-7814d48a592140ad4e310ec9df79aa750e8672c8.zip
vidhar: samba: shadow_copy2
Diffstat (limited to 'hosts/vidhar/default.nix')
-rw-r--r--hosts/vidhar/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix
index 3b089460..6913b9da 100644
--- a/hosts/vidhar/default.nix
+++ b/hosts/vidhar/default.nix
@@ -351,6 +351,12 @@
351 "read only" = "no"; 351 "read only" = "no";
352 "create mask" = "0700"; 352 "create mask" = "0700";
353 "directory mask" = "0700"; 353 "directory mask" = "0700";
354 "vfs objects" = "shadow_copy2";
355 "shadow:snapdir" = ".zfs/snapshot";
356 "shadow:sort" = "desc";
357 "shadow: format" = "-%Y-%m-%d-%Hh%MU";
358 "shadow: snapprefix" = "^zfs-auto-snap_\(frequent\)\{0,1\}\(hourly\)\{0,1\}\(daily\)\{0,1\}\(monthly\)\{0,1\}";
359 "shadow: delimiter" = "-20";
354 }; 360 };
355 }; 361 };
356 }; 362 };