enable distributed builds on new brix
This commit is contained in:
parent
0c61f7241f
commit
b644d7a354
6 changed files with 17 additions and 13 deletions
|
@ -43,6 +43,7 @@
|
||||||
../zerotier.nix
|
../zerotier.nix
|
||||||
../i3/system.nix
|
../i3/system.nix
|
||||||
../virtualbox.nix
|
../virtualbox.nix
|
||||||
|
../distributed-builds.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.maxJobs = 2;
|
nix.maxJobs = 2;
|
||||||
|
|
|
@ -25,7 +25,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget git gnupg curl tmux python36Packages.glances htop atop firefox home-manager alacritty pciutils powertop ripgrep-all fd dnsutils
|
wget git gnupg curl tmux glances htop atop firefox home-manager alacritty pciutils powertop ripgrep-all fd dnsutils
|
||||||
];
|
];
|
||||||
|
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
|
|
@ -1,6 +1,19 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
programs.ssh.extraConfig = ''
|
||||||
|
StrictHostKeyChecking=accept-new
|
||||||
|
'';
|
||||||
|
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
|
{
|
||||||
|
hostName = "brix.lan";
|
||||||
|
sshUser = "nix-builder";
|
||||||
|
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
||||||
|
system = "x86_64-linux";
|
||||||
|
maxJobs = 2;
|
||||||
|
supportedFeatures = [ "kvm" ];
|
||||||
|
mandatoryFeatures = [ ];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
hostName = "vultr1.local";
|
hostName = "vultr1.local";
|
||||||
sshUser = "nix-builder";
|
sshUser = "nix-builder";
|
||||||
|
@ -10,15 +23,6 @@
|
||||||
supportedFeatures = [ ];
|
supportedFeatures = [ ];
|
||||||
mandatoryFeatures = [ ];
|
mandatoryFeatures = [ ];
|
||||||
}
|
}
|
||||||
{
|
|
||||||
hostName = "brix.local";
|
|
||||||
sshUser = "nix-builder";
|
|
||||||
sshKey = "/home/cyryl/.ssh/id_ed25519";
|
|
||||||
system = "x86_64-linux";
|
|
||||||
maxJobs = 1;
|
|
||||||
supportedFeatures = [ "kvm" ];
|
|
||||||
mandatoryFeatures = [ ];
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
s3tcSupport = true;
|
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
vaapiIntel
|
vaapiIntel
|
||||||
vaapiVdpau
|
vaapiVdpau
|
||||||
|
|
|
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
sha256 = "1b22m7g55k5ry0vwyd8pakh8rmfkhk37qy5r74cn3n5pv3fcwini";
|
sha256 = "1b22m7g55k5ry0vwyd8pakh8rmfkhk37qy5r74cn3n5pv3fcwini";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0lpavjm9yq7fcyqj8ihs60ipmz3f724rkyh50j6f62g6fkn8jybi";
|
cargoSha256 = "1p6l64s9smhwka8bh3pamqimamxziad859i62nrmxzqc49nq5s7m";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl pkgconfig git
|
openssl pkgconfig git
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
"172.23.223.219" = [ "brix.local" ];
|
"172.23.153.159" = [ "brix.local" ];
|
||||||
"172.23.28.139" = [ "vultr1.local" ];
|
"172.23.28.139" = [ "vultr1.local" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue