diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 18:50:19 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 18:50:19 +0100 |
commit | 1c0ed57f1db0317c019375d3db66c5c0f5f94f5c (patch) | |
tree | e0f4b5e89987d3251efa874e6b13195ed9b57abe /modules/zfssnap/default.nix | |
parent | 0a33f63fb70e884731b78b6a256ae03c775eba98 (diff) | |
download | nixos-1c0ed57f1db0317c019375d3db66c5c0f5f94f5c.tar nixos-1c0ed57f1db0317c019375d3db66c5c0f5f94f5c.tar.gz nixos-1c0ed57f1db0317c019375d3db66c5c0f5f94f5c.tar.bz2 nixos-1c0ed57f1db0317c019375d3db66c5c0f5f94f5c.tar.xz nixos-1c0ed57f1db0317c019375d3db66c5c0f5f94f5c.zip |
zfssnap: ...
Diffstat (limited to 'modules/zfssnap/default.nix')
-rw-r--r-- | modules/zfssnap/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/zfssnap/default.nix b/modules/zfssnap/default.nix index 1dbd7e17..5093f365 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 | ||