Revert "builders: direct buildbot to /mnt store via ForceCommand"

This reverts commit dfd48f2179.
This commit is contained in:
Yureka 2024-08-08 10:37:42 +02:00
parent cd0621ba55
commit dbb4e03292

View file

@ -44,20 +44,10 @@ in
]; ];
}; };
nix.settings = { nix.settings = {
trusted-users = [ "builder" "buildbot" ];
inherit ((import ./assignments.nix).${config.networking.hostName}) max-jobs cores; inherit ((import ./assignments.nix).${config.networking.hostName}) max-jobs cores;
}; };
services.openssh.extraConfig = ''
Match User buildbot
AllowAgentForwarding no
AllowTcpForwarding no
PermitTTY no
PermitTunnel no
X11Forwarding no
ForceCommand ${config.nix.package.out}/bin/nix-daemon --store /mnt --stdio
Match All
'';
nixpkgs.hostPlatform = "x86_64-linux"; nixpkgs.hostPlatform = "x86_64-linux";
hardware.cpu.intel.updateMicrocode = true; hardware.cpu.intel.updateMicrocode = true;