mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 10:07:44 +00:00
18 lines
335 B
Nix
18 lines
335 B
Nix
{ lib, ...}: let
|
|
inherit (lib) enabled;
|
|
port = 2222;
|
|
in {
|
|
programs.mosh = enabled {
|
|
openFirewall = true;
|
|
};
|
|
|
|
services.openssh = enabled {
|
|
ports = [ port ];
|
|
settings = {
|
|
KbdInteractiveAuthentication = false;
|
|
PasswordAuthentication = false;
|
|
|
|
AcceptEnv = "SHELLS COLORTERM";
|
|
};
|
|
};
|
|
}
|