diff options
author | Karel Kočí <cynerd@email.cz> | 2023-06-12 07:23:54 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2023-06-12 07:23:54 +0200 |
commit | f39b3ad7df421365bc71d562d8779ec16dad1af3 (patch) | |
tree | 8e35366fcfff0735f1e28de7eba1a08c398bd4ad /nixos/modules | |
parent | 29364d9859f742e90931b7bf084bd9b8e155826b (diff) | |
download | nixos-personal-f39b3ad7df421365bc71d562d8779ec16dad1af3.tar.gz nixos-personal-f39b3ad7df421365bc71d562d8779ec16dad1af3.tar.bz2 nixos-personal-f39b3ad7df421365bc71d562d8779ec16dad1af3.zip |
nixos/desktop: update snapper config
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/desktop.nix | 25 |
1 files changed, 4 insertions, 21 deletions
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; }; }; |