2022-01-12 00:20:57 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
passwordAuthentication = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users."riley" = {
|
|
|
|
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGk/nBXhr3xWtbXBBkCuwqE6OixpRXCfscfxibgcCsTR me@riley.lgbt"
|
|
|
|
];
|
|
|
|
|
|
|
|
packages = with pkgs; [ openssh ];
|
|
|
|
|
|
|
|
};
|
2022-05-27 15:59:00 +02:00
|
|
|
|
|
|
|
users.users."root" = {
|
|
|
|
openssh.authorizedKeys.keys = [
|
|
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGk/nBXhr3xWtbXBBkCuwqE6OixpRXCfscfxibgcCsTR me@riley.lgbt"
|
|
|
|
];
|
|
|
|
};
|
2022-01-12 00:20:57 +01:00
|
|
|
}
|