Added Ohybke Remote-Builds
Some checks failed
/ Check Nix Flake (push) Failing after 2m0s

This commit is contained in:
Kaybee 2025-03-10 23:45:50 +01:00
parent cbccbed0cc
commit 60a3b4eb33
Signed by: kb01
SSH key fingerprint: SHA256:kv2GYUy1MZEqusYnS+Y9nMgrpv77jhm+3kknl3UGV1k
2 changed files with 32 additions and 0 deletions

View file

@ -5,6 +5,12 @@
./hardware.nix
];
# Configure Nix
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users=[ "remotebuild" ];
nix.package = pkgs.lix;
# Networking
networking.hostName = "kb-senfnvp";
networking.networkmanager.enable = true;
networking.nameservers = [
@ -29,6 +35,15 @@
extraGroups = [ "wheel" ];
};
users.users.remotebuild = {
isNormalUser = true;
createHome = true;
homeMode = "400";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJV9cwMXlbaBdg2gReSnLxH3EV5cyFoSi21f5fZhPfdC kb@Ohybke"
];
};
environment.systemPackages = with pkgs; [
git
wget

View file

@ -15,6 +15,23 @@
"electron-27.3.11"
];
# Distributed Builds
nix.buildMachines = [
{
hostname = "senfnvp.kb-one.de";
systems = [ "aarch64-linux" ];
protocol = "ssh-ng";
maxJobs = 10;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" ];
mandatoryFeatures = [];
}
];
nix.distributedBuilds = true;
nix.extraOptions = ''
builders-use-substitutes = true
'';
# NAS Test-Config
suites.nas.enable = false;