mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +00:00
profiles/server: update config
This commit is contained in:
parent
be405897a6
commit
b237755736
@ -35,6 +35,10 @@ in
|
|||||||
passwordAuthentication = false;
|
passwordAuthentication = false;
|
||||||
permitRootLogin = "no";
|
permitRootLogin = "no";
|
||||||
|
|
||||||
|
# Making it verbose for services such as fail2ban.
|
||||||
|
logLevel = "VERBOSE";
|
||||||
|
};
|
||||||
|
|
||||||
# Manage your servers like a Linux-using basement dweller with their
|
# Manage your servers like a Linux-using basement dweller with their
|
||||||
# precious window manager configuration.
|
# precious window manager configuration.
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
@ -65,7 +69,7 @@ in
|
|||||||
|
|
||||||
# We're only going to deal with servers in English.
|
# We're only going to deal with servers in English.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
i18n.supportedLocales = lib.mkForce [ "en_US.UTF-8/UTF-8" ];
|
||||||
})
|
})
|
||||||
|
|
||||||
# We're only covering the most basic settings here.
|
# We're only covering the most basic settings here.
|
||||||
@ -96,6 +100,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
factor = "4";
|
factor = "4";
|
||||||
maxtime = "24h";
|
maxtime = "24h";
|
||||||
|
overalljails = true;
|
||||||
};
|
};
|
||||||
extraPackages = with pkgs; [ ipset ];
|
extraPackages = with pkgs; [ ipset ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user