Files
ErrorNoInternet 500b17237e
Check / Nix flake (push) Failing after 39s
Lint / Nix expressions (push) Failing after 41s
treewide: separate ssh keys
2026-05-02 18:01:29 -04:00

18 lines
377 B
Nix

{ 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;
};
}