limit garbage collection and boot configurations

This commit is contained in:
♥ Minnie ♥ 2024-08-30 21:59:52 +08:00
parent cb0037e3e5
commit 6704bab226
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -35,7 +35,10 @@
efiSysMountPoint = "/boot";
canTouchEfiVariables = true;
};
systemd-boot.enable = true;
systemd-boot = {
enable = true;
configurationLimit = 3;
};
};
};