loptland: add remotebuild connection to nixberry
This commit is contained in:
parent
6e5437a91f
commit
b993d2c04b
1 changed files with 46 additions and 38 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue