From 3b9876bb103f1704c08cb90412694c3ecb5d86ec Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 7 May 2024 09:59:35 +0200 Subject: [PATCH] let's try ipv6 without that weird debug thing, hope that's what broke the server --- nixos/hosts/queen/configuration.nix | 36 ++++++++++++++--------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/nixos/hosts/queen/configuration.nix b/nixos/hosts/queen/configuration.nix index c724024..b896703 100644 --- a/nixos/hosts/queen/configuration.nix +++ b/nixos/hosts/queen/configuration.nix @@ -98,26 +98,26 @@ # systemd.services.systemd-networkd.serviceConfig.Environment = "SYSTEMD_LOG_LEVEL=debug"; # Enable networking - # networking.networkmanager.enable = true; - # networking.nat.enable = true; - # networking.nat.internalInterfaces = ["ve-+"]; - # networking.nat.externalInterface = "ens18"; - # networking.enableIPv6 = lib.mkForce true; - # networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"]; + networking.networkmanager.enable = true; + networking.nat.enable = true; + networking.nat.internalInterfaces = ["ve-+"]; + networking.nat.externalInterface = "ens18"; + networking.enableIPv6 = lib.mkForce true; + networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"]; - # networking.interfaces.ens18.ipv4.addresses = [ - # { - # address = "62.171.160.195"; - # prefixLength = 32; - # } - # ]; + networking.interfaces.ens18.ipv4.addresses = [ + { + address = "62.171.160.195"; + prefixLength = 32; + } + ]; - # networking.interfaces.ens18.ipv6.addresses = [ - # { - # address = "2a02:c207:2063:2448::1"; - # prefixLength = 64; - # } - # ]; + networking.interfaces.ens18.ipv6.addresses = [ + { + address = "2a02:c207:2063:2448::1"; + prefixLength = 64; + } + ]; # Open ports in the firewall. networking.firewall = {