more ssh secrets

This commit is contained in:
RingOfStorms (Josh) 2024-05-13 12:53:03 -05:00
parent 45b5c759c1
commit c19a161764
11 changed files with 100 additions and 0 deletions

View file

@ -21,6 +21,16 @@
hostname = "10.20.40.12";
user = "luser";
};
"joe" = {
identityFile = age.secrets.nix2joe.path;
hostname = "10.20.40.2";
user = "josh";
};
"gpdPocket3" = {
identityFile = age.secrets.nix2gpdPocket3.path;
hostname = "10.20.40.22"; # TODO onboard ot nebula network
user = "josh";
};
"t" = {
identityFile = age.secrets.nix2t.path;
hostname = "10.20.40.4"; # TODO get these from flake.nix hosts?

View file

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

View file

@ -0,0 +1,6 @@
{ settings, ... }:
{
users.user.${settings.user.username}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINoBKfj+2SAlTxgdK1jYMFYoTTthX9jvfC+gko1Wlr4L nix2joe"
];
}