nix-config/modules/core.nix

27 lines
737 B
Nix
Raw Normal View History

2024-10-05 23:03:31 +00:00
{ pkgs, ... }:
{
nix = {
package = pkgs.nix;
settings = {
system = "aarch64-darwin";
extra-platforms = [ "aarch64-darwin" "x86_64-darwin" ];
experimental-features = [ "nix-command" "flakes" ];
build-users-group = "nixbld";
trusted-users = [ "root" "larstvei" ];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://larstvei.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"larstvei.cachix.org-1:mJq98qeTBnm2xNNibn2BEwN1ggi6uQg+5hWASdG1Vys="
];
};
};
}