summaryrefslogtreecommitdiff
path: root/modules/zfssnap/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 18:51:36 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 18:51:36 +0100
commit6f841084b16692e0b04f3f609d944bc0900b6102 (patch)
tree64183aee2d39dbb47c3e699e606446868144fae9 /modules/zfssnap/default.nix
parent1c0ed57f1db0317c019375d3db66c5c0f5f94f5c (diff)
downloadnixos-6f841084b16692e0b04f3f609d944bc0900b6102.tar
nixos-6f841084b16692e0b04f3f609d944bc0900b6102.tar.gz
nixos-6f841084b16692e0b04f3f609d944bc0900b6102.tar.bz2
nixos-6f841084b16692e0b04f3f609d944bc0900b6102.tar.xz
nixos-6f841084b16692e0b04f3f609d944bc0900b6102.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 5093f365..1dbd7e17 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