hydra: add laptop public key
This commit is contained in:
parent
6ff68289d6
commit
d9b81b4cdc
|
@ -156,6 +156,7 @@ in {
|
||||||
supportedFeatures = [ "kvm" "nixos-test" "benchmark" "big-parallel" ];
|
supportedFeatures = [ "kvm" "nixos-test" "benchmark" "big-parallel" ];
|
||||||
sshKey = "/secrets/hydra-builder-key";
|
sshKey = "/secrets/hydra-builder-key";
|
||||||
sshUser = "hydra-builder";
|
sshUser = "hydra-builder";
|
||||||
|
publicHostKey = cfg.laptopPublicKey;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
# limit CI CPU usage since I'm running everything else off this server too
|
# limit CI CPU usage since I'm running everything else off this server too
|
||||||
|
|
|
@ -14,6 +14,11 @@
|
||||||
default = null;
|
default = null;
|
||||||
description = "laptop hostname";
|
description = "laptop hostname";
|
||||||
};
|
};
|
||||||
|
laptopPublicKey = mkOption {
|
||||||
|
type = with types; nullOr str;
|
||||||
|
default = null;
|
||||||
|
description = "laptop public ssh key";
|
||||||
|
};
|
||||||
keycloakRealm = mkOption {
|
keycloakRealm = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "master";
|
default = "master";
|
||||||
|
|
Loading…
Reference in a new issue