2024-03-09 01:15:42 +03:00
|
|
|
{ ... }: {
|
2024-03-04 00:34:39 +03:00
|
|
|
environment.variables.NIXPKGS_ALLOW_UNFREE = "1";
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
nix.settings.auto-optimise-store = true;
|
|
|
|
nix.extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
keep-derivations = true
|
|
|
|
keep-outputs = true
|
2024-03-04 14:26:18 +03:00
|
|
|
min-free = ${toString (50 * 1024 * 1024 * 1024)}
|
2024-03-04 00:34:39 +03:00
|
|
|
'';
|
2024-03-09 19:42:03 +03:00
|
|
|
|
2024-03-04 00:34:39 +03:00
|
|
|
# max-free = ${toString (10 * 1024 * 1024 * 1024)}
|
|
|
|
# nix.gc = {
|
|
|
|
# automatic = true;
|
|
|
|
# dates = "weekly";
|
|
|
|
# options = "--delete-older-than 30d";
|
|
|
|
# persistent = true;
|
|
|
|
# };
|
|
|
|
}
|