add ssh for oren
This commit is contained in:
parent
56cd97436a
commit
e7299832e0
7 changed files with 68 additions and 2 deletions
|
@ -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";
|
||||
|
|
6
users/josh/by_hosts/oren/nix_modules/ssh_authorized.nix
Normal file
6
users/josh/by_hosts/oren/nix_modules/ssh_authorized.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ settings, config, ... }:
|
||||
{
|
||||
users.users.${settings.user.username}.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILMzgAe4od9K4EsvH2g7xjNU7hGoJiFJlYcvB0BoDCvn nix2oren"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue