This commit is contained in:
2025-11-22 18:19:42 +00:00
parent e63724125f
commit 2288bd52a4
2 changed files with 7 additions and 0 deletions

View File

@@ -62,6 +62,11 @@
networking.search = ["node.dc1.consul" "service.dc1.consul"];
# networking.firewall.enable = false;
boot.kernel.sysctl = {
"net.ipv6.conf.all.disable_ipv6" = 1;
"net.ipv6.conf.default.disable_ipv6" = 1;
};
services.openssh = {
enable = true;
settings.PermitRootLogin = "yes";

View File

@@ -10,6 +10,8 @@
# Configure insecure registries
daemon.settings = {
ipv6 = false; # Add this line to disable IPv6
dns = ["192.168.4.250" "8.8.8.8"];
dns-search = ["node.dc1.consul" "service.dc1.consul"];
insecure-registries = [
"localhost:5000"
"gitea.service.dc1.consul:80"