From 73e426ba2df7cc7a40ca051ee70d600b5572f225 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 24 Dec 2023 11:02:20 +0900 Subject: [PATCH] Update snapper --- nixos/common/services/snapper.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/nixos/common/services/snapper.nix b/nixos/common/services/snapper.nix index 52d59c0e..f56126df 100644 --- a/nixos/common/services/snapper.nix +++ b/nixos/common/services/snapper.nix @@ -5,5 +5,22 @@ snapshotRootOnBoot = true; cleanupInterval = "1d"; snapshotInterval = "1h"; + configs = { + root = { + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; + SUBVOLUME = "/root"; + }; + home = { + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; + SUBVOLUME = "/home"; + }; + nix = { + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; + SUBVOLUME = "/nix"; + }; + }; }; } \ No newline at end of file