Add fail2ban and psmisc

This commit is contained in:
Chris Thompson 2025-02-25 14:18:25 -05:00
parent 40c779f15e
commit fd710c41f5
2 changed files with 5 additions and 0 deletions

View file

@ -243,6 +243,7 @@
rustdesk # the rustdesk remote desktop client
vorta # borg backup UI
ncdu # nncurses tool for examining disk usage
psmisc # process tools like killall
];
programs.zsh.enable = true;
programs.git = {
@ -306,6 +307,8 @@
services.openssh.enable = true;
services.openssh.ports = [ 2112 ]; # must be a list...for some reason.
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.LogLevel = "VERBOSE"; # required for fail2ban to work properly
services.fail2ban.enable = true; # by default, the SSH jail enabled
# Enable mobile shell (for roaming, intermittent connectivity, etc)
programs.mosh.enable = true;
# Enable remote desktop access via rustdesk

View file

@ -34,6 +34,8 @@
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
# Installed manually:
# abra - ~/.local/bin
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage