diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 00:30:27 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-12-17 00:30:27 +0100 |
commit | 2b6d745cad4b06f1d746bf6966b24f1a509f22dc (patch) | |
tree | e852b84b1699626c38f797cb9c8954b93ff4ea82 /custom | |
parent | 05e11d7ff3b5e952ff4c259b64c6f45513eb1c03 (diff) | |
download | nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.gz nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.bz2 nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.tar.xz nixos-2b6d745cad4b06f1d746bf6966b24f1a509f22dc.zip |
…
Diffstat (limited to 'custom')
-rw-r--r-- | custom/btrfs-snapshots.nix | 2 |
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 | ||