darwin: add flyingcircus trusted substituters
This commit is contained in:
parent
548e85b9ca
commit
bff7aef220
|
@ -2,7 +2,20 @@
|
|||
|
||||
{
|
||||
imports = [ ../common/nix-settings.nix ];
|
||||
nix.settings.trusted-users = [ "os" ];
|
||||
nix.settings = {
|
||||
trusted-users = [
|
||||
"os"
|
||||
"@admin"
|
||||
]; # @admin for linux-builder
|
||||
substituters = [
|
||||
"https://s3.whq.fcio.net/hydra"
|
||||
"https://hydra.flyingcircus.io"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||
"flyingcircus.io-1:Rr9CwiPv8cdVf3EQu633IOTb6iJKnWbVfCC8x8gVz2o="
|
||||
];
|
||||
};
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = [ pkgs.vim ];
|
||||
|
@ -27,4 +40,12 @@
|
|||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 4;
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
|
||||
# local vm-backed linux builder as background service
|
||||
nix.linux-builder = {
|
||||
enable = true;
|
||||
ephemeral = true;
|
||||
maxJobs = 3;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue