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