enable fail2ban

This commit is contained in:
Daylin Morgan 2023-07-09 11:32:38 -05:00
parent 971cdc4f05
commit 3d4a56f360
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -5,6 +5,8 @@
];
security.sudo.wheelNeedsPassword = false;
nixpkgs.config.allowUnfree = true;
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
@ -24,7 +26,7 @@
};
services.resolved.enable = true;
nixpkgs.config.allowUnfree = true;
services.fail2ban.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;