add ssh for oren

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-12-20 00:38:14 -06:00
parent 56cd97436a
commit e7299832e0
7 changed files with 68 additions and 2 deletions

View file

@ -26,6 +26,11 @@
hostname = "10.12.14.116";
user = "josh";
};
"oren" = {
identityFile = age.secrets.nix2oren.path;
# hostname = "10.20.40.104";
user = "josh";
};
"joe" = {
identityFile = age.secrets.nix2joe.path;
hostname = "10.20.40.102";

View file

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