diff options
author | Adrian Kummerlaender | 2021-08-23 13:30:46 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-08-23 13:38:25 +0200 |
commit | df1073ecb2c42eae043ab69a0b250caeea24731c (patch) | |
tree | d3a2877b9ad43ab0e3830cd54c40c57701de4287 /host/software | |
parent | 171a2a7dc1bb5dceff2692baed0b552f663b8f3b (diff) | |
download | nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar.gz nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar.bz2 nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar.lz nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar.xz nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.tar.zst nixos_system-df1073ecb2c42eae043ab69a0b250caeea24731c.zip |
Add gitlab-runner to majestix
Diffstat (limited to 'host/software')
-rw-r--r-- | host/software/server/runner.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/host/software/server/runner.nix b/host/software/server/runner.nix new file mode 100644 index 0000000..a9d5598 --- /dev/null +++ b/host/software/server/runner.nix @@ -0,0 +1,21 @@ +{ config, pkgs, ... }: + +{ + services.gitlab-runner = { + enable = true; + services = { + olbtest = { + executor = "shell"; + registrationConfigFile = "/etc/gitlab-runner.conf"; + tagList = [ "nixos" ]; + }; + }; + }; + + users.users.gitlab-runner = { + isNormalUser = true; + shell = pkgs.fish; + }; + + nix.allowedUsers = [ "gitlab-runner" ]; +} |