diff options
author | Soispha <soispha@vhack.eu> | 2023-07-01 19:54:14 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-10 16:44:14 +0200 |
commit | a218c5ee28886af09743b6aa684f3695a395b2ae (patch) | |
tree | 075787cec90d8df3bce048cbc0392c7ae8b796ee /system/disks/default.nix | |
parent | Fix(system/disks): Add disk labels (diff) | |
download | nixos-config-a218c5ee28886af09743b6aa684f3695a395b2ae.tar.gz nixos-config-a218c5ee28886af09743b6aa684f3695a395b2ae.zip |
Fix(system/disks): Add .snapshot subvol for snapper
Diffstat (limited to 'system/disks/default.nix')
-rw-r--r-- | system/disks/default.nix | 4 |
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; |