dotfiles/nixos/boxes/cupsnet/ssh.nix

14 lines
170 B
Nix
Raw Normal View History

2024-01-01 16:50:13 +00:00
{
config,
pkgs,
...
}: let
port = 2222;
in {
services.openssh = {
enable = true;
ports = [port];
};
networking.firewall.allowedTCPPorts = [port];
}