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 = {
|
nix = {
|
||||||
settings.allowed-uris = "http:// https://";
|
settings = {
|
||||||
|
trusted-users = [ "builder" ];
|
||||||
|
allowed-uris = "http:// https://";
|
||||||
|
};
|
||||||
buildMachines = [
|
buildMachines = [
|
||||||
{
|
{
|
||||||
hostName = "localhost";
|
hostName = "localhost";
|
||||||
|
|
Loading…
Reference in a new issue