summaryrefslogtreecommitdiff
path: root/modules/zfssnap
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-11-01 21:15:52 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-11-01 21:15:52 +0100
commite9d187f6851fbb7e458cc314d53787f135ac1aba (patch)
tree7489873fb9ea26249f9a28f4a4bd194a8cf1f34b /modules/zfssnap
parent0fc8afed4045fbd5499d672e4709f5d98acdfc45 (diff)
downloadnixos-e9d187f6851fbb7e458cc314d53787f135ac1aba.tar
nixos-e9d187f6851fbb7e458cc314d53787f135ac1aba.tar.gz
nixos-e9d187f6851fbb7e458cc314d53787f135ac1aba.tar.bz2
nixos-e9d187f6851fbb7e458cc314d53787f135ac1aba.tar.xz
nixos-e9d187f6851fbb7e458cc314d53787f135ac1aba.zip
...
Diffstat (limited to 'modules/zfssnap')
-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 735e73ec..2bd6fef6 100644
--- a/modules/zfssnap/default.nix
+++ b/modules/zfssnap/default.nix
@@ -72,7 +72,7 @@ in {
72 ExecStart = let 72 ExecStart = let
73 mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); 73 mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name);
74 zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; 74 zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config;
75 in "${zfssnap}/bin/zfssnap -vv prune --exec-newest --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; # DEBUG 75 in "${zfssnap}/bin/zfssnap -vv prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; # DEBUG
76 76
77 LogRateLimitIntervalSec = 0; 77 LogRateLimitIntervalSec = 0;
78 }; 78 };