staging: Use a static ssh host key
This commit is contained in:
parent
4e5379eadd
commit
920e0eb28a
6 changed files with 92 additions and 31 deletions
|
|
@ -16,6 +16,17 @@
|
|||
networkConfig.DHCP = "yes";
|
||||
};
|
||||
|
||||
# Both so we have a predictable key for the staging env, as well as
|
||||
# to have a static key for decrypting the sops secrets for the
|
||||
# staging env.
|
||||
services.openssh.hostKeys = lib.mkForce [
|
||||
{
|
||||
type = "rsa";
|
||||
bits = 4096;
|
||||
path = ../../keys/hosts/staging.key;
|
||||
}
|
||||
];
|
||||
|
||||
# # Set up VM settings to match real VPS
|
||||
# virtualisation.memorySize = 3941;
|
||||
# virtualisation.cores = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue