mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36: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, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
htop
|
||||
nload
|
||||
tmux
|
||||
vim
|
||||
];
|
||||
{ pkgs, nixpkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [ htop nload tmux vim ];
|
||||
|
||||
nix = {
|
||||
nixPath = [
|
||||
"nixpkgs=${nixpkgs}"
|
||||
];
|
||||
};
|
||||
nix = { nixPath = [ "nixpkgs=${nixpkgs}" ]; };
|
||||
|
||||
services.nscd.enableNsncd = true;
|
||||
|
||||
services.fail2ban.enable = true;
|
||||
|
||||
zramSwap.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue