From a218c5ee28886af09743b6aa684f3695a395b2ae Mon Sep 17 00:00:00 2001
From: Soispha <soispha@vhack.eu>
Date: Sat, 1 Jul 2023 19:54:14 +0200
Subject: Fix(system/disks): Add .snapshot subvol for snapper

---
 system/disks/default.nix | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'system/disks')

diff --git a/system/disks/default.nix b/system/disks/default.nix
index 6bdde2fe..171ee292 100644
--- a/system/disks/default.nix
+++ b/system/disks/default.nix
@@ -66,6 +66,10 @@ in {
                         mountpoint = "/srv";
                         mountOptions = defaultMountOptions;
                       };
+                      "persistent-storage@snapshots" = {
+                        mountpoint = "/srv/.snaphots"; # TODO does this work?
+                        mountOptions = defaultMountOptions;
+                      };
                       "swap" = {
                         mountpoint = "/swap";
                         mountOptions = defaultMountOptions;
-- 
cgit 1.4.1