mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Enable fail2ban
This commit is contained in:
parent
9f0650b983
commit
61f12a0209
1 changed files with 5 additions and 13 deletions
|
|
@ -1,19 +1,11 @@
|
||||||
{ pkgs, nixpkgs, ... }:
|
{ pkgs, nixpkgs, ... }: {
|
||||||
{
|
environment.systemPackages = with pkgs; [ htop nload tmux vim ];
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
htop
|
|
||||||
nload
|
|
||||||
tmux
|
|
||||||
vim
|
|
||||||
];
|
|
||||||
|
|
||||||
nix = {
|
nix = { nixPath = [ "nixpkgs=${nixpkgs}" ]; };
|
||||||
nixPath = [
|
|
||||||
"nixpkgs=${nixpkgs}"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nscd.enableNsncd = true;
|
services.nscd.enableNsncd = true;
|
||||||
|
|
||||||
|
services.fail2ban.enable = true;
|
||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue