1
0

hosts/hydra-*: enable distributed builds

This commit is contained in:
2022-10-15 16:04:40 +02:00
parent 701f8bd41f
commit fa025a7a65
2 changed files with 16 additions and 2 deletions

View File

@@ -24,6 +24,12 @@
# Allow Hydra to fetch remote URLs in restricted mode
nix.settings.allowed-uris = "http:// https://";
services.openssh.permitRootLogin = "yes";
users.extraUsers.root.openssh.authorizedKeys.keys = [
''command="nix-store --serve --write" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMv8Lbca/CR4das3HJ2F/sQ9dA7kdGS1hSVTt5lX4diP root@hydra-1''
];
clerie.monitoring = {
enable = true;
id = "211";