I should commit more frequently
This commit is contained in:
parent
aa8003f5b4
commit
e82241b8b0
70 changed files with 1091 additions and 2018 deletions
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
fleetFlake,
|
||||
...
|
||||
}: {
|
||||
|
@ -12,61 +11,47 @@
|
|||
auto-optimise-store = true;
|
||||
trusted-users = [
|
||||
"root"
|
||||
"ccr"
|
||||
config.ccr.username
|
||||
"@wheel"
|
||||
];
|
||||
netrc-file = "/etc/nix/netrc";
|
||||
# Disabled all the substituters, this should be managed at flakes level
|
||||
# trusted-public-keys = [
|
||||
# "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
|
||||
# "mlabs.cachix.org-1:gStKdEqNKcrlSQw5iMW6wFCj3+b+1ASpBVY2SYuNV2M="
|
||||
# "aciceri-fleet.cachix.org-1:e1AodrwmzRWy0eQi3lUY71M41fp9Sq+UpuKKv705xsI="
|
||||
# "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
# ];
|
||||
# substituters = [
|
||||
# "https://cache.iog.io"
|
||||
# "https://mlabs.cachix.org"
|
||||
# "https://aciceri-fleet.cachix.org"
|
||||
# "https://nix-community.cachix.org"
|
||||
# ];
|
||||
};
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes ca-derivations
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
options = "--delete-older-than 180d";
|
||||
};
|
||||
|
||||
# buildMachines = [
|
||||
# {
|
||||
# hostName = "rock5b.fleet";
|
||||
# system = "aarch64-linux";
|
||||
# maxJobs = 6;
|
||||
# speedFactor = 1;
|
||||
# supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
|
||||
# mandatoryFeatures = [];
|
||||
# # sshKey = "/var/lib/hydra/queue-runner/.ssh/id_rsa";
|
||||
# sshUser = "root";
|
||||
# }
|
||||
# ];
|
||||
distributedBuilds = true;
|
||||
|
||||
registry = lib.mkForce {
|
||||
nixpkgs.to = {
|
||||
type = "path";
|
||||
path = fleetFlake.inputs.nixpkgsUnstable;
|
||||
};
|
||||
nixpkgsUnstable.to = {
|
||||
type = "path";
|
||||
path = fleetFlake.inputs.nixpkgsUnstable;
|
||||
};
|
||||
nixpkgsStable.to = {
|
||||
type = "path";
|
||||
path = fleetFlake.inputs.nixpkgsStable;
|
||||
};
|
||||
n.to = {
|
||||
type = "path";
|
||||
path = fleetFlake.inputs.nixpkgsUnstable;
|
||||
};
|
||||
nixfleet.to = {
|
||||
type = "path";
|
||||
path = "/home/ccr/projects/aciceri/nixfleet";
|
||||
path = "/home/${config.ccr.username}/projects/aciceri/nixfleet";
|
||||
};
|
||||
fleet.to = {
|
||||
type = "path";
|
||||
path = "/home/${config.ccr.username}/projects/aciceri/nixfleet";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue