From f29d809e7632f9d3b4d11631d331744ac5c8526a Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Sun, 24 Nov 2024 13:41:46 -0300 Subject: [PATCH] buer: file-systems: Add an @snapshot subvolume --- operating-systems/buer/file-systems.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/operating-systems/buer/file-systems.scm b/operating-systems/buer/file-systems.scm index b0b116f..ce1ca93 100644 --- a/operating-systems/buer/file-systems.scm +++ b/operating-systems/buer/file-systems.scm @@ -129,6 +129,18 @@ discard=async,~ ssd"))) + #|snapshots|# + (file-system + (device partition:guix) + (type "btrfs") + (mount-point "/snapshots") + (check? #f) + (needed-for-boot? #t) + (flags '(no-atime)) + (options (format #f "compress=zstd,~ + subvol=@snapshots,~ + ssd"))) + #|home|# (file-system (device partition:guix)