flakes/modules/system/nix.nix

22 lines
638 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }: {
2021-07-15 20:26:09 +07:00
nix = rec {
2021-12-18 19:44:10 +07:00
package = pkgs.nixUnstable;
2021-07-15 20:26:09 +07:00
binaryCaches = [
"https://cache.nixos.org?priority=10"
"https://lava.cachix.org"
2021-09-04 14:14:42 +07:00
"https://nix-gaming.cachix.org"
2021-07-15 20:26:09 +07:00
];
binaryCachePublicKeys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"lava.cachix.org-1:8lTWI/3IKWHByzzYHZySunMPYs2eAJw2duL+uLZkSy0="
2021-09-04 14:14:42 +07:00
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
2021-07-15 20:26:09 +07:00
];
trustedBinaryCaches = binaryCaches;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs.config.allowUnfree = true;
}