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