2021-09-11 13:18:27 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
2022-01-21 22:05:21 +01:00
|
|
|
nix = {
|
|
|
|
package = pkgs.nix_2_4;
|
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
2022-04-18 12:20:45 +02:00
|
|
|
dates = "weekly";
|
2022-01-21 22:05:21 +01:00
|
|
|
};
|
|
|
|
optimise.automatic = true;
|
2022-01-09 14:15:05 +01:00
|
|
|
};
|
2021-09-11 13:18:27 +02:00
|
|
|
}
|