From 502613c0728ef89145a8b9a32d2be48cf4f5d04c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 19 Feb 2022 15:07:12 +0100 Subject: vidhar: ... --- 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 a0590c9f..9ff0157b 100644 --- a/modules/zfssnap/default.nix +++ b/modules/zfssnap/default.nix @@ -78,7 +78,7 @@ in { ExecStart = let mkSectionName = name: strings.escape [ "[" "]" ] (strings.toUpper name); zfssnapConfig = generators.toINI { inherit mkSectionName; } cfg.config; - in "${zfssnap}/bin/zfssnap --no-stderr -vv prune --config=${zfssnapConfig}"; + in "${zfssnap}/bin/zfssnap --no-stderr -vv prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; }; }; -- cgit v1.2.3