lib/ssh: add more ssh keys
Check / Nix flake (push) Has been cancelled
Lint / Nix expressions (push) Has been cancelled

This commit is contained in:
2026-05-03 00:11:27 +02:00
committed by ErrorNoInternet
parent 4d55336eeb
commit 60c364586f
3 changed files with 48 additions and 30 deletions
+1 -5
View File
@@ -1,17 +1,13 @@
{ self, ... }:
{
services.openssh = {
enable = true;
settings = {
ClientAliveInterval = 300;
KbdInteractiveAuthentication = false;
PasswordAuthentication = false;
PermitRootLogin = "no";
};
};
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues {
inherit (import "${self}/lib/ssh/keys.nix") error javalsai;
};
}