moved openssh config into home manager configs

This commit is contained in:
Leyla Becker 2024-12-24 16:01:37 -06:00
parent d760992a06
commit 2d5e37b1eb
6 changed files with 26 additions and 9 deletions

View file

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