loptland: add remotebuild connection to nixberry

This commit is contained in:
Christoph Hollizeck 2025-04-28 23:30:53 +02:00
parent 10e188c5a9
commit 7261f7a435
Signed by: Daholli
GPG key ID: 249300664F2AF2C7

View file

@ -158,6 +158,20 @@ in
"benchmark" "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"; useRoutingFeatures = "client";
}; };
# services.gitea-actions-runner = { services.gitea-actions-runner = {
# package = pkgs.forgejo-actions-runner; package = pkgs.forgejo-actions-runner;
# instances.default = { instances.default = {
# enable = true; enable = true;
# name = "monolith"; name = "monolith";
# url = "https://git.${domainName}"; url = "https://git.${domainName}";
# tokenFile = config.sops.secrets."forgejo/runner/token".path; tokenFile = config.sops.secrets."forgejo/runner/token".path;
# labels = [ labels = [
# "native:host" "native:host"
# ]; ];
# hostPackages = with pkgs; [ hostPackages = with pkgs; [
# bash bash
# coreutils coreutils
# curl curl
# gawk gawk
# gitMinimal gitMinimal
# gnused gnused
# nodejs nodejs
# wget wget
# ]; ];
# settings = { settings = {
# log.level = "info"; log.level = "info";
# runner = { runner = {
# capacity = 1; capacity = 1;
# timeout = "3h"; timeout = "3h";
# shutdown_timeout = "3s"; shutdown_timeout = "3s";
# fetch_timeout = "5s"; fetch_timeout = "5s";
# fetch_inteval = "2s"; fetch_inteval = "2s";
# }; };
# }; };
# }; };
# }; };
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
forgejoPort forgejoPort
@ -239,11 +253,5 @@ in
]; ];
}; };
# snowfallorg.users.${config.${namespace}.user.name}.home.config = {
# programs.fish.shellInit = ''
# eval $(op signin)
# '';
# };
system.stateVersion = "24.11"; system.stateVersion = "24.11";
} }