diff options
-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 a0590c9f..9ff0157b 100644 --- a/modules/zfssnap/default.nix +++ b/modules/zfssnap/default.nix | |||
@@ -78,7 +78,7 @@ in { | |||
78 | ExecStart = let | 78 | ExecStart = let |
79 | mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); | 79 | mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); |
80 | zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; | 80 | zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; |
81 | in "${zfssnap}/bin/zfssnap --no-stderr -vv prune --config=${zfssnapConfig}"; | 81 | in "${zfssnap}/bin/zfssnap --no-stderr -vv prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; |
82 | }; | 82 | }; |
83 | }; | 83 | }; |
84 | 84 | ||