diff options
Diffstat (limited to 'custom/btrfs-snapshots.nix')
-rw-r--r-- | custom/btrfs-snapshots.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/btrfs-snapshots.nix b/custom/btrfs-snapshots.nix index 44b08740..9dc3f1f8 100644 --- a/custom/btrfs-snapshots.nix +++ b/custom/btrfs-snapshots.nix | |||
@@ -40,6 +40,10 @@ in { | |||
40 | 40 | ||
41 | config = mkIf cfg.enable { | 41 | config = mkIf cfg.enable { |
42 | 42 | ||
43 | system.activationScripts."btrfs-snapshots" = '' | ||
44 | mkdir -p ${mountPoint} | ||
45 | ''; | ||
46 | |||
43 | systemd.services."btrfs-snapshot@" = { | 47 | systemd.services."btrfs-snapshot@" = { |
44 | enable = true; | 48 | enable = true; |
45 | 49 | ||