summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-19 15:20:03 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-19 15:20:03 +0100
commitfa4031277173dec7077489f87506a56c0c9e1f04 (patch)
tree0dd92b2e354ee18bf3e9b369c694e7007bf35c7a
parent81d9bf9e500f8e716628eb10690509de22cb8ebd (diff)
downloadnixos-fa4031277173dec7077489f87506a56c0c9e1f04.tar
nixos-fa4031277173dec7077489f87506a56c0c9e1f04.tar.gz
nixos-fa4031277173dec7077489f87506a56c0c9e1f04.tar.bz2
nixos-fa4031277173dec7077489f87506a56c0c9e1f04.tar.xz
nixos-fa4031277173dec7077489f87506a56c0c9e1f04.zip
vidhar: ...
-rw-r--r--modules/zfssnap/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/zfssnap/default.nix b/modules/zfssnap/default.nix
index 35eea776..53f8250f 100644
--- a/modules/zfssnap/default.nix
+++ b/modules/zfssnap/default.nix
@@ -67,7 +67,7 @@ in {
67 before = [ "zfssnap-prune.service" ]; 67 before = [ "zfssnap-prune.service" ];
68 serviceConfig = { 68 serviceConfig = {
69 Type = "oneshot"; 69 Type = "oneshot";
70 ExecStart = "${zfssnap}/bin/zfssnap -vv"; 70 ExecStart = "${zfssnap}/bin/zfssnap -v";
71 }; 71 };
72 }; 72 };
73 systemd.services."zfssnap-prune" = { 73 systemd.services."zfssnap-prune" = {
@@ -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 -vv prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}"; 81 in "${zfssnap}/bin/zfssnap -v prune --config=${pkgs.writeText "zfssnap.ini" zfssnapConfig}";
82 }; 82 };
83 }; 83 };
84 84