feat: Morbo cleanup, add initial hydra
This commit is contained in:
parent
dfbe3023ec
commit
2db68e1f79
2 changed files with 27 additions and 1 deletions
27
common/nixos/hydra.nix
Normal file
27
common/nixos/hydra.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
port = 3001;
|
||||
hydraURL = "http://localhost:3000"; # externally visible URL
|
||||
notificationSender = "hydra@localhost"; # e-mail of hydra service
|
||||
# a standalone hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
|
||||
buildMachinesFiles = [];
|
||||
# you will probably also want, otherwise *everything* will be built from scratch
|
||||
useSubstitutes = true;
|
||||
};
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "localhost";
|
||||
system = "x86_64-linux";
|
||||
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
|
||||
maxJobs = 8;
|
||||
}
|
||||
];
|
||||
}
|
|
@ -11,7 +11,6 @@
|
|||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../common/nixos/common.nix
|
||||
../../common/networking/gluster/client.nix
|
||||
../../common/networking/zerotier.nix
|
||||
../../common/editors/emacs.nix
|
||||
../../common/nixos/docker.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue