dotfiles/modules/cli/nix.nix

11 lines
209 B
Nix
Raw Normal View History

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