From 3c72017e817ce77a2d7b6a6de7afbd43166da138 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Nov 2019 18:54:18 +0100 Subject: ... --- custom/btrfs-snapshots.nix | 6 ------ 1 file changed, 6 deletions(-) (limited to 'custom') diff --git a/custom/btrfs-snapshots.nix b/custom/btrfs-snapshots.nix index 034b5019..6cc89da9 100644 --- a/custom/btrfs-snapshots.nix +++ b/custom/btrfs-snapshots.nix @@ -32,16 +32,10 @@ in { config = mkIf cfg.enable { - - system.activationScripts."btrfs-snapshots" = '' - mkdir -p ${cfg.mountPoint} - ''; - systemd.services."btrfs-snapshot@" = { enable = true; unitConfig = { - AssertPathIsDirectory = cfg.mountPoint; StopWhenUnneeded = !cfg.persist; }; -- cgit v1.2.3