Added Github Private key; Added SSH Config

This commit is contained in:
2026-04-05 21:03:42 +02:00
parent 8d85687dce
commit d1b35c5abc
8 changed files with 108 additions and 31 deletions

View File

@@ -1,5 +1,4 @@
{ ... }:
{
_: {
services.openssh = {
enable = true;
openFirewall = true;
@@ -7,6 +6,7 @@
PasswordAuthentication = false;
PermitRootLogin = "no";
};
authorizedKeys.keyFiles = [ ../secrets/ssh-key ];
};
programs.ssh.startAgent = true;