Home

dotnix @fa52dc1a8c956ae1885c8f0d5107e07b5cd74c3a - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / machines / dragonwell / jenkins.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ config, ... }:
{
  age.secrets.jenkins.file = ../../secrets/personal/jenkins.age;
  services.jenkins = {
    enable = true;
    listenAddress = "localhost";
    port = 2423;
    jobBuilder = {
      enable = false; # Currently broken
      accessTokenFile = config.age.secrets.jenkins.path;
      nixJobs = [
        {
          job = {
            name = "echo";
            builders = [
              {
                shell = "echo 'Hello, world!'";
              }
            ];
          };
        }
      ];
    };
  };
}