This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-13 12:36:29 -05:00
parent fa10d09bff
commit 45b5c759c1
3 changed files with 7 additions and 1 deletions

View file

@ -19,7 +19,7 @@
"h002" = { "h002" = {
identityFile = age.secrets.nix2h002.path; identityFile = age.secrets.nix2h002.path;
hostname = "10.20.40.12"; hostname = "10.20.40.12";
user = "root"; user = "luser";
}; };
"t" = { "t" = {
identityFile = age.secrets.nix2t.path; identityFile = age.secrets.nix2t.path;

View file

@ -0,0 +1,6 @@
{ settings, ... }:
{
users.user.${settings.user.username}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJie9OPheWn/EZWfXJSZ3S0DnISqI3ToCmOqhX/Tkwby nix2h002"
];
}

View file