Add builder user to hydra for remote building

This commit is contained in:
yuri 2024-01-14 00:25:48 +01:00
parent 469d682374
commit 3b821b9320

View file

@ -21,8 +21,18 @@
}; };
}; };
users.users.builder = {
isNormalUser = true;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeIiHkHA5c6/jZx+BB28c5wchdzlFI7R1gbvNmPyoOg root@kiara"
];
};
nix = { nix = {
settings.allowed-uris = "http:// https://"; settings = {
trusted-users = [ "builder" ];
allowed-uris = "http:// https://";
};
buildMachines = [ buildMachines = [
{ {
hostName = "localhost"; hostName = "localhost";