dotfiles/modules/cli/nix.nix

15 lines
269 B
Nix
Raw Normal View History

2021-09-11 13:18:27 +02:00
{ config, lib, pkgs, ... }:
{
2022-01-21 22:05:21 +01:00
nix = {
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;
settings.trusted-users = [ "root" "@wheel" ];
2022-01-09 14:15:05 +01:00
};
2021-09-11 13:18:27 +02:00
}