forked from the-distro/infra
Revert "builders: direct buildbot to /mnt store via ForceCommand"
This reverts commit dfd48f2179
.
This commit is contained in:
parent
cd0621ba55
commit
dbb4e03292
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue