added attic to buildbot

main
Julien Malka 9 months ago
parent 88873083d5
commit 65c58a00bb
No known key found for this signature in database
GPG Key ID: 6FC74C847011FD83

@ -25,6 +25,8 @@
colmena.url = "github:zhaofengli/colmena";
colmena.inputs.nixpkgs.follows = "nixpkgs";
attic.url = "github:zhaofengli/attic";
srvos.url = "github:numtide/srvos";
# actually not used when using the modules but than nothing ever will try to fetch this nixpkgs variant
srvos.inputs.nixpkgs.follows = "nixpkgs";

@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }:
{ lib, pkgs, config, inputs, ... }:
with lib;
let
cfg = config.luj.buildbot;
@ -12,6 +12,7 @@ in
#buildbot worker
nix.settings.allowed-users = [ "buildbot-worker" ];
nix.settings.trusted-users = [ "buildbot-worker" ];
users.users.buildbot-worker = {
description = "Buildbot Worker User.";
isSystemUser = true;
@ -33,6 +34,7 @@ in
pkgs.gh
pkgs.nix
pkgs.nix-output-monitor
inputs.attic.packages.x86_64-linux.attic
];
environment.PYTHONPATH = "${python.withPackages (_: [package])}/${python.sitePackages}";
environment.MASTER_URL = ''TCP:2a01\\:e34\\:ec2a\\:8e60\\:8ec7\\:b5d2\\:f663\\:a67a:9989'';

@ -1,10 +1,11 @@
{ pkgs, ... }: {
{ pkgs, inputs, ... }: {
# this extends the list from:
# https://github.com/numtide/srvos/blob/master/server.nix#L10
environment.systemPackages = with pkgs; [
socat
whois
inputs.attic.packages.x86_64-linux.attic
jq
psmisc
libarchive

Loading…
Cancel
Save