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