darwin: add flyingcircus trusted substituters

This commit is contained in:
Trolli Schmittlauch 2024-12-13 19:03:07 +01:00
parent 548e85b9ca
commit bff7aef220

View file

@ -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;
};
}