diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-17 12:35:22 +0100 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-17 12:35:22 +0100 |
| commit | ca7307bb787f60c0d241c9c70587314609c5b534 (patch) | |
| tree | 14a23b24371da2983f681cca8a0b2e282af0f559 /custom | |
| parent | 3c5194fe2c4996e153152c5ccce775b454c79204 (diff) | |
| download | nixos-ca7307bb787f60c0d241c9c70587314609c5b534.tar nixos-ca7307bb787f60c0d241c9c70587314609c5b534.tar.gz nixos-ca7307bb787f60c0d241c9c70587314609c5b534.tar.bz2 nixos-ca7307bb787f60c0d241c9c70587314609c5b534.tar.xz nixos-ca7307bb787f60c0d241c9c70587314609c5b534.zip | |
...
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/lvm-snapshots.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 228b2ed7..98c64330 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
| @@ -61,9 +61,9 @@ in { | |||
| 61 | 61 | ||
| 62 | boot.kernelModules = [ "dm_snapshot" ]; | 62 | boot.kernelModules = [ "dm_snapshot" ]; |
| 63 | 63 | ||
| 64 | system.activationScripts = mapAttrs' (name: scfg: nameValuePair ("lvm-mountpoint" + name) '' | 64 | # system.activationScripts = mapAttrs' (name: scfg: nameValuePair ("lvm-mountpoint" + name) '' |
| 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@" + escapeSystemdPath name) { | 68 | systemd.services = mapAttrs' (name: scfg: nameValuePair ("lvm-snapshot@" + escapeSystemdPath name) { |
| 69 | enable = true; | 69 | enable = true; |
