rp5: finally working nix-sdcard, enableing remote build on the nix system now

This commit is contained in:
Christoph Hollizeck 2024-11-25 15:52:10 +01:00
parent c424ccbd07
commit 3703a46675
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
4 changed files with 73 additions and 23 deletions

View file

@ -33,9 +33,11 @@ in
};
nix = {
distributedBuilds = true;
settings.builders-use-substitutes = true;
buildMachines = [
{
hostName = "pi";
hostName = "nixberry";
sshUser = "remotebuild";
sshKey = "/root/.ssh/remotebuild";
systems = [ "aarch64-linux" ];
@ -44,18 +46,10 @@ in
supportedFeatures = [
"nixos-test"
"big-parallel"
"kvm"
];
}
];
distributedBuilds = true;
settings = {
trusted-users = [
"@wheel"
"remotebuild"
];
trusted-public-keys = [ "nixberry:25s8/rxsolAXg4skjnecCeqcfkxYE9FGCPG5UcXsFlw=" ];
};
};
${namespace} = {