nixos-config/2configs/remote-build/slave.nix
2023-10-02 01:19:05 +02:00

13 lines
315 B
Nix

{config,...}:{
nix.settings.trusted-users = [ "nixBuild" ];
users.users.nixBuild = {
name = "nixBuild";
isNormalUser = true;
useDefaultShell = true;
openssh.authorizedKeys.keys = [
config.krebs.users.buildbotSlave.pubkey
config.krebs.users.makefu-remote-builder.pubkey
];
};
}