Add builder user to hydra for remote building
This commit is contained in:
parent
f40dbd3cf0
commit
6b699c74cb
|
@ -21,8 +21,18 @@
|
|||
};
|
||||
};
|
||||
|
||||
users.users.builder = {
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKeIiHkHA5c6/jZx+BB28c5wchdzlFI7R1gbvNmPyoOg root@kiara"
|
||||
];
|
||||
};
|
||||
|
||||
nix = {
|
||||
settings.allowed-uris = "http:// https://";
|
||||
settings = {
|
||||
trusted-users = [ "builder" ];
|
||||
allowed-uris = "http:// https://";
|
||||
};
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "localhost";
|
||||
|
|
Loading…
Reference in a new issue