15 lines
297 B
Nix
15 lines
297 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
nix = {
|
|
package = pkgs.nix_2_4;
|
|
gc = {
|
|
automatic = true;
|
|
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
|
|
dates = "weekly";
|
|
};
|
|
optimise.automatic = true;
|
|
|
|
settings.trusted-users = [ "root" "@wheel" ];
|
|
};
|
|
}
|