self-hosting/environment.nix
Paul-Henri Froidmont 61f12a0209
Enable fail2ban
2023-07-12 03:39:07 +02:00

11 lines
245 B
Nix

{ pkgs, nixpkgs, ... }: {
environment.systemPackages = with pkgs; [ htop nload tmux vim ];
nix = { nixPath = [ "nixpkgs=${nixpkgs}" ]; };
services.nscd.enableNsncd = true;
services.fail2ban.enable = true;
zramSwap.enable = true;
}