treewide: separate ssh keys
Check / Nix flake (push) Failing after 39s
Lint / Nix expressions (push) Failing after 41s

This commit is contained in:
2026-05-02 17:10:15 -04:00
parent 6cd9ae97ea
commit 500b17237e
5 changed files with 33 additions and 18 deletions
+17
View File
@@ -0,0 +1,17 @@
{ 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;
};
}