add lio ssh keys. Remove frontend forwards on t ssh
This commit is contained in:
parent
2106827132
commit
63ebc70f8f
7 changed files with 146 additions and 87 deletions
|
@ -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;
|
||||
|
|
6
users/josh/by_hosts/lio/nix_modules/ssh_authorized.nix
Normal file
6
users/josh/by_hosts/lio/nix_modules/ssh_authorized.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ settings, ... }:
|
||||
{
|
||||
users.users.${settings.user.username}.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJN2nsLmAlF6zj5dEBkNSJaqcCya+aB6I0imY8Q5Ew0S nix2lio"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue