added ssh-phone-home to mainsail, phoning to netbox
This commit is contained in:
parent
e28e53b6db
commit
9bc783e711
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/ssh-phone-home.nix
|
||||
../../modules/bootstrap.nix
|
||||
../../modules/common.nix
|
||||
];
|
||||
|
@ -55,6 +56,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.ssh-phone-home = {
|
||||
enable = true;
|
||||
localUser = "usr";
|
||||
remoteHostname = "beepboop.systems";
|
||||
remotePort = 443;
|
||||
remoteUser = "ryan";
|
||||
bindPort = 2222;
|
||||
};
|
||||
|
||||
users.users.usr.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKbhM3wj0oqjR3pUaZgpfX4Xo4dlzvBTbQ48zHyg7Pwx usr" # x230t
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2xUbQw9+RCPVw7qCFm4NNCP/MpS2BIArcwMv0KdKOI usr" # mlg
|
||||
|
|
Loading…
Reference in New Issue