add ipv6
This commit is contained in:
parent
8af386e521
commit
56af2b408c
1 changed files with 1 additions and 6 deletions
|
@ -10,6 +10,7 @@
|
||||||
boot.tmp.cleanOnBoot = true;
|
boot.tmp.cleanOnBoot = true;
|
||||||
networking.hostName = "server";
|
networking.hostName = "server";
|
||||||
networking.domain = "";
|
networking.domain = "";
|
||||||
|
networking.enableIPv6 = true;
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [80 443 9418];
|
allowedTCPPorts = [80 443 9418];
|
||||||
|
@ -35,12 +36,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fail2ban = {
|
|
||||||
enable = true;
|
|
||||||
maxretry = 10;
|
|
||||||
bantime-increment.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
users.users.mtgmonkey = {
|
users.users.mtgmonkey = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "mtgmonkey";
|
description = "mtgmonkey";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue