summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/remote-build/slave.nix
blob: 039698f1d79653f56f53ceccad36ba46c9291eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{config,...}:{
  nix.trustedUsers = [ "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
    ];
  };
}