Testing remote builders
This commit is contained in:
parent
4e679d6d55
commit
cb0ff1f919
6 changed files with 29 additions and 10 deletions
18
nixos/common/modules/remote-builders.nix
Normal file
18
nixos/common/modules/remote-builders.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
nix.buildMachines = [
|
||||
{
|
||||
hostName = "nixos-vm-01";
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
protocol = "ssh-ng";
|
||||
maxJobs = 4;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
mandatoryFeatures = [ ];
|
||||
}
|
||||
];
|
||||
nix.distributedBuilds = true;
|
||||
nix.extraOptions = ''builders-use-substitutes = true'';
|
||||
}
|
|
@ -16,9 +16,10 @@
|
|||
./common/software/cli/weechat.nix
|
||||
|
||||
# NixOS Modules
|
||||
./common/modules/fonts.nix # Font Configs
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/fonts.nix # Font Configs
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
|
||||
];
|
||||
#####################################################################################
|
||||
# BEGIN hardware config
|
||||
|
|
|
@ -34,5 +34,4 @@
|
|||
}; # luks.partitions
|
||||
}; # partitions
|
||||
}; # content
|
||||
}; # disko.devices.disk.vda
|
||||
} # root
|
||||
}; # disko.devices.disk.vda
|
|
@ -5,8 +5,9 @@
|
|||
./common/services/fail2ban.nix
|
||||
|
||||
# NixOS Modules
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # NixOS related items
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
./common/services/fail2ban.nix
|
||||
|
||||
# NixOS Modules
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # Common NixOS Configurations
|
||||
./common/modules/networking.nix # Initial Networking configs
|
||||
./common/modules/nixos.nix # Common NixOS Configurations
|
||||
./common/modules/remote-builders.nix # Add remote builders
|
||||
|
||||
./users/${username}
|
||||
./hosts/${hostname}
|
||||
|
|
Loading…
Reference in a new issue