Home

dotnix @8a229b1654330a209c80fb11795204f4ff2eb0d7 - 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
{config, ...}: {
  age.secrets.jenkins.file = ../../secrets/personal/jenkins.age;
  services.jenkins = {
    enable = true;
    listenAddress = "localhost";
    port = 2423;
    jobBuilder = {
      accessTokenFile = config.age.secrets.jenkins.path;
      nixJobs = [
        {
          job = {
            name = "echo";
            builders = [
              {
                shell = "echo 'Hello, world!'";
              }
            ];
          };
        }
      ];
    };
  };
}