diff --git a/hosts/hydra/default.nix b/hosts/hydra/default.nix index 7a4466b4..c781ed29 100644 --- a/hosts/hydra/default.nix +++ b/hosts/hydra/default.nix @@ -1,4 +1,4 @@ -{ config, lib, libS, pkgs, ... }: +{ config, lib, libS, pkgs, ssh-public-keys, ... }: let cachePort = 5000; @@ -39,6 +39,12 @@ in daemonCPUSchedPolicy = "idle"; daemonIOSchedClass = "idle"; daemonIOSchedPriority = 7; + remoteBuilder = { + enable = true; + sshPublicKeys = config.users.users.root.openssh.authorizedKeys.keys ++ [ + /* "..." */ + ]; + }; settings = { allowed-uris = "http:// https:// ssh://"; auto-optimise-store = true;