added authorized ssh key

This commit is contained in:
Leyla Becker 2024-12-13 18:53:15 -06:00
parent b0e6a17fe6
commit 6b1eaa7308

View file

@ -1,4 +1,12 @@
{...}: { {
lib,
config,
...
}: {
users.users.leyla.openssh.authorizedKeys.keys = lib.mkIf config.host.users.leyla.isTerminalUser [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJHeItmt8TRW43uNcOC+eIurYC7Eunc0V3LGocQqLaYj leyla@horizon"
];
services = { services = {
openssh = { openssh = {
enable = true; enable = true;