summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-12-17 00:29:26 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-12-17 00:29:26 +0100
commit05e11d7ff3b5e952ff4c259b64c6f45513eb1c03 (patch)
tree2f0a848f497c7d6aef715c8e9269764c29e30b25 /custom
parent33074171712c9b068db47f7f5afa8a8ded5809bb (diff)
downloadnixos-05e11d7ff3b5e952ff4c259b64c6f45513eb1c03.tar
nixos-05e11d7ff3b5e952ff4c259b64c6f45513eb1c03.tar.gz
nixos-05e11d7ff3b5e952ff4c259b64c6f45513eb1c03.tar.bz2
nixos-05e11d7ff3b5e952ff4c259b64c6f45513eb1c03.tar.xz
nixos-05e11d7ff3b5e952ff4c259b64c6f45513eb1c03.zip
Verbose and block for commit
Diffstat (limited to 'custom')
-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 9cee22ff..c2ddad76 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 ${snapshotMount "%i"}"; 47 ExecStop = "${btrfs-progs}/bin/btrfs subvolume delete -c -v ${snapshotMount "%i"}";
48 }; 48 };
49 }; 49 };
50 50