add ipv6
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user