2023-05-14 09:27:30 +02:00
|
|
|
{pkgs, ...}: {
|
2023-03-02 07:30:03 +01:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2023-02-14 00:18:43 +01:00
|
|
|
nix = {
|
|
|
|
gc.automatic = true;
|
2023-05-26 21:58:36 +02:00
|
|
|
package = pkgs.nixVersions.nix_2_15;
|
2023-02-14 00:18:43 +01:00
|
|
|
settings = {
|
2023-04-15 23:41:31 +02:00
|
|
|
experimental-features = ["nix-command" "flakes" "repl-flake"];
|
|
|
|
auto-optimise-store = pkgs.stdenv.isLinux;
|
2023-04-19 16:52:39 +02:00
|
|
|
# consider downloaded tarballs as fresh for 7 days
|
|
|
|
tarball-ttl = 604800;
|
2023-02-14 00:18:43 +01:00
|
|
|
};
|
2023-02-13 23:33:09 +01:00
|
|
|
};
|
|
|
|
}
|