Move gitlab-runner to hel1

This commit is contained in:
Paul-Henri Froidmont 2024-12-07 21:49:38 +01:00
parent 66c62a2e40
commit 0d3f1b4afc
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
4 changed files with 28 additions and 22 deletions

View file

@ -1,9 +1,5 @@
{
config,
lib,
pkgs,
pkgs-unstable,
inputs,
...
}:
{
@ -13,8 +9,21 @@
../modules
];
sops.secrets = {
runnerRegistrationConfig = {
owner = config.users.users.gitlab-runner.name;
key = "gitlab/runner_registration_config/hel1";
};
};
time.timeZone = "Europe/Amsterdam";
networking.nat = {
enable = true;
internalInterfaces = [ "ve-+" ];
externalInterface = "enp41s0";
};
disko.devices = {
disk = {
nvme0 = {
@ -160,6 +169,10 @@
custom = {
services.openssh.enable = true;
services.gitlab-runner = {
enable = true;
runnerRegistrationConfigFile = config.sops.secrets.runnerRegistrationConfig.path;
};
};
}