diff options
author | Profpatsch <mail@profpatsch.de> | 2022-11-01 19:29:10 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-11-01 19:29:50 +0100 |
commit | c8470ed39e05452df71eb8f67f45cf349dc9df5c (patch) | |
tree | b5ae1a7a2f97a0fef98ab9c3d180789231468930 /machines/profpatsch | |
parent | 69cbbb8302123cd22b7752b63d15f79843b4b6b4 (diff) |
machines/profpatsch: disable ipv6 on all servers
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/base-server.toml | 3 | ||||
-rw-r--r-- | machines/profpatsch/legosi.nix | 16 |
2 files changed, 11 insertions, 8 deletions
diff --git a/machines/profpatsch/base-server.toml b/machines/profpatsch/base-server.toml index 7081b0ad..8db3f0f9 100644 --- a/machines/profpatsch/base-server.toml +++ b/machines/profpatsch/base-server.toml @@ -20,6 +20,9 @@ enable = true addr = "0.0.0.0" port._configVariable.server = "sshPort" +[networking] +enableIPv6 = false + [networking.firewall] enable = true allowPing = true diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 75fa771a..72fc2b46 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -66,16 +66,16 @@ in { }; interfaces.ens3 = { - ipv6.addresses = [{ - address = "2a01:4f8:c0c:70aa::1"; - prefixLength = 64; - }]; + # ipv6.addresses = [{ + # address = "2a01:4f8:c0c:70aa::1"; + # prefixLength = 64; + # }]; }; - defaultGateway6 = { - address = "fe80::1"; - interface = "ens3"; - }; + # defaultGateway6 = { + # address = "fe80::1"; + # interface = "ens3"; + # }; }; services.tailscale = { |