summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/remote-build/slave.nix
blob: 0227f512a8ad79e7e39a0950045ca8aa1c4f8725 (plain)
1
2
3
4
5
6
7
8
9
10
11
{config,...}:{
  nix.trustedUsers = [ "nixBuild" ];
  users.users.nixBuild = {
      name = "nixBuild";
      useDefaultShell = true;
      openssh.authorizedKeys.keys = [
        config.krebs.users.buildbotSlave.pubkey
        config.krebs.users.makefu-remote-builder.pubkey
      ];
    };
}