diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 15:07:12 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-02-19 15:07:12 +0100 |
commit | 502613c0728ef89145a8b9a32d2be48cf4f5d04c (patch) | |
tree | 6a12264ed7da80f00dee9db96d5dc0cb5c105b7d /modules | |
parent | 6f82f965a742d2013d9bab578a4d83fa37526902 (diff) | |
download | nixos-502613c0728ef89145a8b9a32d2be48cf4f5d04c.tar nixos-502613c0728ef89145a8b9a32d2be48cf4f5d04c.tar.gz nixos-502613c0728ef89145a8b9a32d2be48cf4f5d04c.tar.bz2 nixos-502613c0728ef89145a8b9a32d2be48cf4f5d04c.tar.xz nixos-502613c0728ef89145a8b9a32d2be48cf4f5d04c.zip |
vidhar: ...
Diffstat (limited to 'modules')
-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 | ||