From 9e8dd2e5fbc226e06c78c4eb935957fb065b2685 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)