summaryrefslogtreecommitdiff
path: root/modules/zfssnap/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 17:37:29 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 17:37:29 +0100
commit9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a (patch)
tree53871a18600eed73179b18ffc462c449a0cc1c77 /modules/zfssnap/default.nix
parente20069b8d44eba99127e3af714dc99dbe76d8146 (diff)
downloadnixos-9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a.tar
nixos-9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a.tar.gz
nixos-9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a.tar.bz2
nixos-9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a.tar.xz
nixos-9a77d1dfd0cf1f9fa0ee401598bae2b36de1196a.zip
zfssnap: keep-oldest
Diffstat (limited to 'modules/zfssnap/default.nix')
-rw-r--r--modules/zfssnap/default.nix2
1 files changed, 1 insertions, 1 deletions
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 {
77 ExecStart = let 77 ExecStart = let
78 mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); 78 mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name);
79 zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; 79 zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config;
80 in "${zfssnap}/bin/zfssnap -v prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; 80 in "${zfssnap}/bin/zfssnap -v prune --dry-run --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}";
81 }; 81 };
82 }; 82 };
83 83