reduce time to keep garbage

This commit is contained in:
♥ Minnie ♥ 2025-09-26 18:06:08 +08:00
parent 3f40905886
commit 1b857236ee
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@
# Automatically run the garbage collector an a specified time.
automatic = true;
dates = "weekly";
options = "--delete-older-than 28d";
options = "--delete-older-than 14d";
};
# This will add each flake input as a registry

View file

@ -26,7 +26,7 @@ in {
btrfs subvolume delete "$1"
}
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +30); do
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +14); do
delete_subvolume_recursively "$i"
done

View file

@ -37,7 +37,7 @@
};
systemd-boot = {
enable = true;
configurationLimit = 20;
configurationLimit = 14;
};
};
};