nixos-config/base/nix.nix

23 lines
511 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 = {
2021-11-19 11:45:36 +01:00
package = pkgs.nixStable;
2021-02-19 21:54:30 +01:00
extraOptions = ''
experimental-features = nix-command flakes
'';
trustedUsers = [ "@wheel" ];
2021-02-19 21:54:30 +01:00
binaryCaches = [
"https://alarsyo.cachix.org"
2021-04-17 20:39:01 +02:00
"https://nix-community.cachix.org"
2021-02-19 21:54:30 +01:00
];
binaryCachePublicKeys = [
"alarsyo.cachix.org-1:A6BmcaJek5+ZDWWv3fPteHhPm6U8liS9CbDbmegPfmk="
2021-04-17 20:39:01 +02:00
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
2021-02-19 21:54:30 +01:00
];
};
}