added remote builders and virtualisation

This commit is contained in:
caleb 2024-03-12 09:29:45 -04:00
parent fa52e5f789
commit 0e60a07fd2

View File

@ -8,6 +8,7 @@
./application-configuration.nix
./software-development-configuration.nix
./school-configuration.nix
./virtualisation-configuration.nix
];
# Enable networking and bluetooth
@ -92,7 +93,7 @@
users.users.caleb = {
isNormalUser = true;
description = "caleb";
extraGroups = [ "networkmanager" "wheel" "usrp" ];
extraGroups = [ "networkmanager" "wheel" ];
hashedPassword = "$y$j9T$v6EDyPW8C/K.Th4xg8MHL/$tA67k6U0kLtafTNNW2DM7j.xObjPSaZFQ4e/beBX7g2";
packages = with pkgs;
[
@ -143,15 +144,32 @@
services.printing.drivers = [ pkgs.brlaser ];
# remote build
nix.buildMachines = [{
nix.buildMachines = [
{
hostName = "talos";
system = "x86_64-linux";
protocol = "ssh-ng";
speedFactor = 4;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}
{
hostName = "january";
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 1;
speedFactor = 3;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}
{
hostName = "pubnix";
system = "x86_64-linux";
protocol = "ssh-ng";
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ ];
}];
}
];
nix.distributedBuilds = true;
# optional, useful when the builder has a faster internet connection than yours
nix.extraOptions = ''