change nix settings for iso

This commit is contained in:
Dmitriy Kholkin 2023-06-16 02:11:20 +03:00
parent 4dbe01aea3
commit 20262fbd09
2 changed files with 23 additions and 2 deletions

View File

@ -30,12 +30,34 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
flake-registry = ${inputs.flake-registry}/flake-registry.json flake-registry = ${inputs.flake-registry}/flake-registry.json
''; '';
settings = {
require-sigs = true;
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://nixpkgs-wayland.cachix.org"
"https://hyprland.cachix.org"
"https://ataraxiadev-foss.cachix.org"
"https://cache.ataraxiadev.com/ataraxiadev"
"https://numtide.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"ataraxiadev-foss.cachix.org-1:ws/jmPRUF5R8TkirnV1b525lP9F/uTBsz2KraV61058="
"ataraxiadev:V/fCdvz1bMsQzYZcLltcAULST+MoChv53EfedmyJ8Uw="
"numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="
];
trusted-users = [ "root" config.mainuser "@wheel" ];
};
buildMachines = [{ buildMachines = [{
hostName = "nix-builder"; hostName = "nix-builder";
maxJobs = 8; maxJobs = 8;
sshUser = "ataraxia"; sshUser = "ataraxia";
sshKey = "/home/nixos/ssh-builder"; sshKey = "/home/nixos/ssh-builder";
systems = [ "x86_64-linux" "i686-linux" ]; systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
}]; }];
distributedBuilds = true; distributedBuilds = true;

View File

@ -7,7 +7,6 @@ let
}; };
nur = import inputs.nur { nur = import inputs.nur {
nurpkgs = import inputs.nixpkgs { nurpkgs = import inputs.nixpkgs {
# inherit system;
system = "x86_64-linux"; system = "x86_64-linux";
}; };
}; };