summaryrefslogtreecommitdiff
path: root/modules/zfssnap/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 18:06:01 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 18:06:01 +0100
commitc1b125aa8af1b2a84b1bdc5eaef59671c69a5410 (patch)
treea0032c7339ef6bc6d2d4e83776231aa1597cb63c /modules/zfssnap/default.nix
parente968e02808aae05ed93b02fff0b35a4a3256c2ac (diff)
downloadnixos-c1b125aa8af1b2a84b1bdc5eaef59671c69a5410.tar
nixos-c1b125aa8af1b2a84b1bdc5eaef59671c69a5410.tar.gz
nixos-c1b125aa8af1b2a84b1bdc5eaef59671c69a5410.tar.bz2
nixos-c1b125aa8af1b2a84b1bdc5eaef59671c69a5410.tar.xz
nixos-c1b125aa8af1b2a84b1bdc5eaef59671c69a5410.zip
zfssnap: ...
Diffstat (limited to 'modules/zfssnap/default.nix')
-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 27e5198d..86e7fdc0 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 --dry-run --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; 80 in "${zfssnap}/bin/zfssnap -v prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}";
81 }; 81 };
82 }; 82 };
83 83