summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 00:30:27 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 00:30:27 +0100
commit2b6d745cad4b06f1d746bf6966b24f1a509f22dc (patch)
treee852b84b1699626c38f797cb9c8954b93ff4ea82
parent05e11d7ff3b5e952ff4c259b64c6f45513eb1c03 (diff)
downloadnixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar
nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.gz
nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.bz2
nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.xz
nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.zip
-rw-r--r--custom/btrfs-snapshots.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/btrfs-snapshots.nix b/custom/btrfs-snapshots.nix
index c2ddad76..038ec2c4 100644
--- a/custom/btrfs-snapshots.nix
+++ b/custom/btrfs-snapshots.nix
@@ -44,7 +44,7 @@ in {
44 serviceConfig = with pkgs; { 44 serviceConfig = with pkgs; {
45 ExecStart = "${btrfs-progs}/bin/btrfs subvolume snapshot ${optionalString cfg.readOnly "-r"} %f ${snapshotMount "%i"}"; 45 ExecStart = "${btrfs-progs}/bin/btrfs subvolume snapshot ${optionalString cfg.readOnly "-r"} %f ${snapshotMount "%i"}";
46 RemainAfterExit = true; 46 RemainAfterExit = true;
47 ExecStop = "${btrfs-progs}/bin/btrfs subvolume delete -c -v ${snapshotMount "%i"}"; 47 ExecStop = "${btrfs-progs}/bin/btrfs subvolume delete -c ${snapshotMount "%i"}";
48 }; 48 };
49 }; 49 };
50 50