loptland: add remotebuild connection to nixberry

This commit is contained in:
Christoph Hollizeck 2025-04-28 23:30:53 +02:00
parent 6e5437a91f
commit b993d2c04b
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -158,6 +158,20 @@ in
"benchmark"
];
}
{
hostName = "100.86.23.74";
sshUser = "remotebuild";
sshKey = "/root/.ssh/remotebuild";
systems = [ "aarch64-linux" ];
protocol = "ssh-ng";
supportedFeatures = [
"nixos-test"
"big-parallel"
"kvm"
];
}
];
};
@ -174,38 +188,38 @@ in
useRoutingFeatures = "client";
};
# services.gitea-actions-runner = {
# package = pkgs.forgejo-actions-runner;
# instances.default = {
# enable = true;
# name = "monolith";
# url = "https://git.${domainName}";
# tokenFile = config.sops.secrets."forgejo/runner/token".path;
# labels = [
# "native:host"
# ];
# hostPackages = with pkgs; [
# bash
# coreutils
# curl
# gawk
# gitMinimal
# gnused
# nodejs
# wget
# ];
# settings = {
# log.level = "info";
# runner = {
# capacity = 1;
# timeout = "3h";
# shutdown_timeout = "3s";
# fetch_timeout = "5s";
# fetch_inteval = "2s";
# };
# };
# };
# };
services.gitea-actions-runner = {
package = pkgs.forgejo-actions-runner;
instances.default = {
enable = true;
name = "monolith";
url = "https://git.${domainName}";
tokenFile = config.sops.secrets."forgejo/runner/token".path;
labels = [
"native:host"
];
hostPackages = with pkgs; [
bash
coreutils
curl
gawk
gitMinimal
gnused
nodejs
wget
];
settings = {
log.level = "info";
runner = {
capacity = 1;
timeout = "3h";
shutdown_timeout = "3s";
fetch_timeout = "5s";
fetch_inteval = "2s";
};
};
};
};
networking.firewall.allowedTCPPorts = [
forgejoPort
@ -239,11 +253,5 @@ in
];
};
# snowfallorg.users.${config.${namespace}.user.name}.home.config = {
# programs.fish.shellInit = ''
# eval $(op signin)
# '';
# };
system.stateVersion = "24.11";
}