This commit is contained in:
XenGi 2025-12-30 12:32:01 +01:00
parent 9cbb528c2d
commit e61be4a176
No known key found for this signature in database
8 changed files with 181 additions and 16 deletions

26
hosts/kaede/services.nix Normal file
View file

@ -0,0 +1,26 @@
{ ... }:
{
services = {
openssh = {
enable = true;
ports = [ 10022 ];
openFirewall = true;
PrintMotd = true;
banner = ''
__ __ __
/'__`\ /\ \ /'_ `\
___ /\_\L\ \\ \ \/'\ /\ \L\ \ ____
/'___\/_/_\_<_\ \ , < \/_> _ <_ /',__\
/\ \__/ /\ \L\ \\ \ \\`\ /\ \L\ \/\__, `\
\ \____\\ \____/ \ \_\ \_\ \____/\/\____/
\/____/ \/___/ \/_/\/_/\/___/ \/___/
'';
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
};
}