infra/nix/os/devices/vmd102066.contaboserver.net/pkg.nix

54 lines
1.3 KiB
Nix
Raw Normal View History

2024-11-15 10:17:56 +01:00
{ config, pkgs, ... }:
{
2023-02-07 18:24:28 +01:00
home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.nix {
inherit pkgs;
};
2023-02-07 18:24:28 +01:00
nix.buildMachines = [
{
hostName = "localhost";
system = "x86_64-linux";
2024-11-15 10:17:56 +01:00
supportedFeatures = [
"kvm"
"nixos-test"
"big-parallel"
"benchmark"
];
2023-02-07 18:24:28 +01:00
maxJobs = 4;
}
];
services.hydra = {
enable = false;
hydraURL = "http://localhost:3000"; # externally visible URL
2023-02-07 18:24:28 +01:00
notificationSender = "hydra@${config.networking.hostName}.stefanjunker.de"; # e-mail of hydra service
# a standalone hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
2024-11-15 10:17:56 +01:00
buildMachinesFiles = [ ];
# you will probably also want, otherwise *everything* will be built from scratch
useSubstitutes = true;
};
services.gitlab-runner = {
enable = false;
2024-11-15 10:17:56 +01:00
extraPackages = with pkgs; [
bash
gitlab-runner
nix
gitFull
git-crypt
];
concurrent = 2;
checkInterval = 0;
services = {
nixRunner = {
executor = "shell";
runUntagged = true;
2023-02-07 18:24:28 +01:00
registrationConfigFile = "/etc/secrets/gitlab-runner/nix-runner.registration";
2024-11-15 10:17:56 +01:00
tagList = [ "nix" ];
};
};
};
}