nixos-config/base/nix.nix

25 lines
467 B
Nix
Raw Normal View History

2021-02-19 21:54:30 +01:00
{ pkgs, ... }:
{
2021-04-16 21:33:48 +02:00
nixpkgs.config.allowUnfree = true;
2021-02-19 21:54:30 +01:00
nix = {
package = pkgs.nixUnstable;
extraOptions = ''
experimental-features = nix-command flakes
'';
binaryCaches = [
"https://alarsyo.cachix.org"
];
binaryCachePublicKeys = [
"alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk="
];
gc = {
automatic = true;
dates = "03:15";
options = "--delete-older-than 30d";
};
};
}