initial upload

This commit is contained in:
2026-02-12 14:17:28 +01:00
commit 98acb2ac9f
112 changed files with 3311 additions and 0 deletions

12
root/base/ssh/default.nix Normal file
View File

@@ -0,0 +1,12 @@
# SSH settings. Defined authorized internal key and enables key authentication.
{ user, ... }:
{
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
users.users.${user}.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAxNhl9lAA7SGpFv0/YhIrL+C1nrODGsvpXlevjpOP9d Interne Infrastruktur"
];
}