dotfiles/modules/cli/nix.nix

13 lines
222 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 = {
package = pkgs.nix_2_4;
gc = {
automatic = true;
options = "--max-freed $((32 * 1024**3)) --delete-older-than 14d";
};
optimise.automatic = true;
2022-01-09 14:15:05 +01:00
};
2021-09-11 13:18:27 +02:00
}