diff --git a/modules/machine/yshtola/configuration.nix b/modules/machine/yshtola/configuration.nix index 97c6488..182b7f2 100644 --- a/modules/machine/yshtola/configuration.nix +++ b/modules/machine/yshtola/configuration.nix @@ -71,23 +71,45 @@ # fail2ban services.fail2ban = { - + enable = true; + package = pkgs.fail2ban; + maxretry = 5; + bantime = "3h"; + bantime-increment = { + enable = true; + rndtime = "10m"; + }; }; # Matrix server services.matrix-tuwunel = { - + enable = true; + package = pkgs.matrix-tuwunel; + settings = { + global = { + server_name = "wyattjmiller.com"; + allow_encryption = true; + allow_federation = true; + allow_registration = true; + }; + # TODO: figure out what goes here + }; }; # LiveKit (MatrixRTC) services.livekit = { - + enable = true; + package = pkgs.livekit; + openFirewall = true; + settings = { + # TODO: figure out what goes here + }; }; # TURN/STUN server - services.coturn = { - - }; + # services.coturn = { + # + # }; system.stateVersion = "25.11"; }