From 2a951699f83b0969c7eccb277289b1c7c1305ec7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 16:02:52 +0200 Subject: automount doesn't help --- custom/lvm-snapshots.nix | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'custom') diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 9ac42f30..7d6cb8f2 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix @@ -114,18 +114,5 @@ in { where = snapshotMount name; what = "/dev/" + scfg.VG + "/" + snapshotName name; }) cfg.snapshots; - - systemd.automounts = mapAttrsToList (name: scfg: { - enable = true; - - wantedBy = [ "default.target" ]; - - automountConfig = { - TimeoutIdleSec = "5"; - DirectoryMode = "0700"; - }; - - where = snapshotMount name; - }) cfg.snapshots; }; } -- cgit v1.2.3