about summary refs log tree commit diff stats
path: root/system/disks
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-07-01 19:54:14 +0200
committerSoispha <soispha@vhack.eu>2023-07-10 16:44:14 +0200
commita218c5ee28886af09743b6aa684f3695a395b2ae (patch)
tree075787cec90d8df3bce048cbc0392c7ae8b796ee /system/disks
parentFix(system/disks): Add disk labels (diff)
downloadnixos-config-a218c5ee28886af09743b6aa684f3695a395b2ae.tar.gz
nixos-config-a218c5ee28886af09743b6aa684f3695a395b2ae.zip
Fix(system/disks): Add .snapshot subvol for snapper
Diffstat (limited to '')
-rw-r--r--system/disks/default.nix4
1 files changed, 4 insertions, 0 deletions
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;