diff options
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" ]; +} |