summaryrefslogtreecommitdiff
path: root/custom/btrfs-snapshots.nix
diff options
context:
space:
mode:
Diffstat (limited to 'custom/btrfs-snapshots.nix')
-rw-r--r--custom/btrfs-snapshots.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/btrfs-snapshots.nix b/custom/btrfs-snapshots.nix
index 2722afc3..03b17d23 100644
--- a/custom/btrfs-snapshots.nix
+++ b/custom/btrfs-snapshots.nix
@@ -43,7 +43,7 @@ in {
43 43
44 unitConfig = { 44 unitConfig = {
45 AssertPathIsDirectory = cfg.mountPoint; 45 AssertPathIsDirectory = cfg.mountPoint;
46 StopWhenUnneeded = !persist; 46 StopWhenUnneeded = !cfg.persist;
47 }; 47 };
48 48
49 serviceConfig = with pkgs; { 49 serviceConfig = with pkgs; {