add lio ssh keys. Remove frontend forwards on t ssh

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-11-12 14:55:00 -06:00
parent 2106827132
commit 63ebc70f8f
7 changed files with 146 additions and 87 deletions

View file

@ -16,6 +16,16 @@
port = 3032;
};
# PERSONAL DEVICES
"lio" = {
identityFile = age.secrets.nix2lio.path;
hostname = "10.20.40.104";
user = "josh";
};
"lio_" = {
identityFile = age.secrets.nix2lio.path;
hostname = "10.12.14.116";
user = "josh";
};
"joe" = {
identityFile = age.secrets.nix2joe.path;
hostname = "10.20.40.102";
@ -31,11 +41,11 @@
hostname = "10.20.40.180";
user = "joshua.bell";
localForwards = [
{
bind.port = 3000;
host.port = 3000;
host.address = "localhost";
}
# {
# bind.port = 3000;
# host.port = 3000;
# host.address = "localhost";
# }
{
bind.port = 3002;
host.port = 3002;

View file

@ -0,0 +1,6 @@
{ settings, ... }:
{
users.users.${settings.user.username}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJN2nsLmAlF6zj5dEBkNSJaqcCya+aB6I0imY8Q5Ew0S nix2lio"
];
}