summaryrefslogtreecommitdiff
path: root/custom/lvm-snapshots.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:24:49 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-09 12:24:49 +0200
commitb21d31407bb186f4d4446e2d6bbd54c762a8c2ba (patch)
tree984b56ca6101caf7e1d2de4e5b7c97f544ef9e85 /custom/lvm-snapshots.nix
parent92fcc3cd4fc50bba1b2b2d95f8bed4e0a5a03136 (diff)
downloadnixos-b21d31407bb186f4d4446e2d6bbd54c762a8c2ba.tar
nixos-b21d31407bb186f4d4446e2d6bbd54c762a8c2ba.tar.gz
nixos-b21d31407bb186f4d4446e2d6bbd54c762a8c2ba.tar.bz2
nixos-b21d31407bb186f4d4446e2d6bbd54c762a8c2ba.tar.xz
nixos-b21d31407bb186f4d4446e2d6bbd54c762a8c2ba.zip
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r--custom/lvm-snapshots.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix
index 67ee2cbd..21690bb5 100644
--- a/custom/lvm-snapshots.nix
+++ b/custom/lvm-snapshots.nix
@@ -70,7 +70,7 @@ in {
70 70
71 serviceConfig = with pkgs; { 71 serviceConfig = with pkgs; {
72 Type = "oneshot"; 72 Type = "oneshot";
73 ExecStart = "${devicemapper}/bin/lvcreate -s ${cfg.cowSize} --name ${name} ${scfg.VG}/${scfg.LV}"; 73 ExecStart = "${devicemapper}/bin/lvcreate -s ${scfg.cowSize} --name ${name} ${scfg.VG}/${scfg.LV}";
74 ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${name}"; 74 ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${name}";
75 RemainAfterExit = true; 75 RemainAfterExit = true;
76 }; 76 };