{ ... }: { imports = [ ../common.nix ../../services/openssh.nix ../../services/prometheus-node.nix ./prusa-connect.nix ]; networking = { hostName = "prusa-connect"; firewall = { allowedTCPPorts = [ 22 # SSH 80 # HTTP/1 443 # HTTP/2 ]; allowedUDPPorts = [ 443 # HTTP/3 ]; }; }; environment.etc."ssh/banner".text = '' __ /\ \__ _____ _ __ __ __ ____ __ ___ ___ ___ ___ __ ___\ \ ,_\ /\ '__`\/\`'__\/\ \/\ \ /',__\ /'__`\ _______ /'___\ / __`\ /' _ `\ /' _ `\ /'__`\ /'___\ \ \/ \ \ \L\ \ \ \/ \ \ \_\ \/\__, `\/\ \L\.\_/\______\/\ \__//\ \L\ \/\ \/\ \/\ \/\ \/\ __//\ \__/\ \ \_ \ \ ,__/\ \_\ \ \____/\/\____/\ \__/.\_\/______/\ \____\ \____/\ \_\ \_\ \_\ \_\ \____\ \____\\ \__\ \ \ \/ \/_/ \/___/ \/___/ \/__/\/_/ \/____/\/___/ \/_/\/_/\/_/\/_/\/____/\/____/ \/__/ \ \_\ \/_/ ''; services.openssh.settings.Banner = "/etc/ssh/banner"; system.stateVersion = "26.05"; }