mirror of
https://github.com/larstvei/nix-config.git
synced 2024-11-26 08:58:31 +00:00
27 lines
737 B
Nix
27 lines
737 B
Nix
|
{ 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="
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|