diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 13:46:28 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 13:46:28 +0200 |
commit | 7a2d2e21b36cd9212259f23fb8c3a573984a2daa (patch) | |
tree | 234a4192e6ecd9fd235881952d571cde66962ad8 /custom/lvm-snapshots.nix | |
parent | 3625eeb2f0670c1e5c75edf11e9774d4b2337359 (diff) | |
download | nixos-7a2d2e21b36cd9212259f23fb8c3a573984a2daa.tar nixos-7a2d2e21b36cd9212259f23fb8c3a573984a2daa.tar.gz nixos-7a2d2e21b36cd9212259f23fb8c3a573984a2daa.tar.bz2 nixos-7a2d2e21b36cd9212259f23fb8c3a573984a2daa.tar.xz nixos-7a2d2e21b36cd9212259f23fb8c3a573984a2daa.zip |
nicer names
Diffstat (limited to 'custom/lvm-snapshots.nix')
-rw-r--r-- | custom/lvm-snapshots.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index ea69e1ff..7148934f 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
@@ -65,7 +65,7 @@ in { | |||
65 | mkdir -p ${snapshotMount name} | 65 | mkdir -p ${snapshotMount name} |
66 | '') cfg.snapshots; | 66 | '') cfg.snapshots; |
67 | 67 | ||
68 | systemd.services = mapAttrs' (name: scfg: nameValuePair ("lvm-snapshot@" + snapshotName name) { | 68 | systemd.services = mapAttrs' (name: scfg: nameValuePair ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name) { |
69 | enable = true; | 69 | enable = true; |
70 | 70 | ||
71 | description = "LVM-snapshot of ${scfg.VG}/${scfg.LV}"; | 71 | description = "LVM-snapshot of ${scfg.VG}/${scfg.LV}"; |