From 9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Feb 2022 17:37:29 +0100 Subject: zfssnap: keep-oldest --- modules/zfssnap/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/zfssnap/default.nix') diff --git a/modules/zfssnap/default.nix b/modules/zfssnap/default.nix index 86e7fdc0..27e5198d 100644 --- a/modules/zfssnap/default.nix +++ b/modules/zfssnap/default.nix @@ -77,7 +77,7 @@ in { ExecStart = let mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; - in "${zfssnap}/bin/zfssnap -v prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; + in "${zfssnap}/bin/zfssnap -v prune --dry-run --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; }; }; -- cgit v1.2.3