From f39b3ad7df421365bc71d562d8779ec16dad1af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 12 Jun 2023 07:23:54 +0200 Subject: nixos/desktop: update snapper config --- nixos/modules/desktop.nix | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'nixos') diff --git a/nixos/modules/desktop.nix b/nixos/modules/desktop.nix index bb5f552..6903767 100644 --- a/nixos/modules/desktop.nix +++ b/nixos/modules/desktop.nix @@ -250,27 +250,10 @@ in { services.snapper.configs = { home = { - subvolume = "/home"; - extraConfig = '' - ALLOW_GROUPS="users" - BACKGROUND_COMPARISON="yes" - EMPTY_PRE_POST_CLEANUP="yes" - EMPTY_PRE_POST_MIN_AGE="1800" - FREE_LIMIT="0.2" - NUMBER_CLEANUP="yes" - NUMBER_LIMIT="50" - NUMBER_LIMIT_IMPORTANT="10" - NUMBER_MIN_AGE="1800" - SPACE_LIMIT="0.5" - TIMELINE_CLEANUP="yes" - TIMELINE_CREATE="yes" - TIMELINE_LIMIT_DAILY="10" - TIMELINE_LIMIT_HOURLY="10" - TIMELINE_LIMIT_MONTHLY="10" - TIMELINE_LIMIT_WEEKLY="0" - TIMELINE_LIMIT_YEARLY="10" - TIMELINE_MIN_AGE="1800" - ''; + SUBVOLUME = "/home"; + ALLOW_GROUPS = [ "users" ]; + TIMELINE_CREATE = true; + TIMELINE_CLEANUP = true; }; }; -- cgit v1.2.3