hydra: add laptop public key

This commit is contained in:
chayleaf 2023-10-18 20:24:52 +07:00
parent 6ff68289d6
commit d9b81b4cdc
2 changed files with 6 additions and 0 deletions

View file

@ -156,6 +156,7 @@ in {
supportedFeatures = [ "kvm" "nixos-test" "benchmark" "big-parallel" ];
sshKey = "/secrets/hydra-builder-key";
sshUser = "hydra-builder";
publicHostKey = cfg.laptopPublicKey;
}
];
# limit CI CPU usage since I'm running everything else off this server too

View file

@ -14,6 +14,11 @@
default = null;
description = "laptop hostname";
};
laptopPublicKey = mkOption {
type = with types; nullOr str;
default = null;
description = "laptop public ssh key";
};
keycloakRealm = mkOption {
type = types.str;
default = "master";