mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 06:32:08 +00:00
sync
This commit is contained in:
@@ -62,6 +62,11 @@
|
|||||||
networking.search = ["node.dc1.consul" "service.dc1.consul"];
|
networking.search = ["node.dc1.consul" "service.dc1.consul"];
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
boot.kernel.sysctl = {
|
||||||
|
"net.ipv6.conf.all.disable_ipv6" = 1;
|
||||||
|
"net.ipv6.conf.default.disable_ipv6" = 1;
|
||||||
|
};
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PermitRootLogin = "yes";
|
settings.PermitRootLogin = "yes";
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
# Configure insecure registries
|
# Configure insecure registries
|
||||||
daemon.settings = {
|
daemon.settings = {
|
||||||
ipv6 = false; # Add this line to disable IPv6
|
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 = [
|
insecure-registries = [
|
||||||
"localhost:5000"
|
"localhost:5000"
|
||||||
"gitea.service.dc1.consul:80"
|
"gitea.service.dc1.consul:80"
|
||||||
|
|||||||
Reference in New Issue
Block a user