summaryrefslogtreecommitdiff
path: root/host/software/server/runner.nix
blob: a9d559897702e92f94295af174eab1f1f96170dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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" ];
}