From 41ca870d1c24c3ff804432eb50443d79c621c30c Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 7 May 2024 10:33:28 +0200 Subject: [PATCH] Same tweaks as before but added the nameservers --- 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 1ccf8b5..977d1b0 100644 --- a/nixos/hosts/queen/configuration.nix +++ b/nixos/hosts/queen/configuration.nix @@ -102,26 +102,26 @@ # 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.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.defaultGateway6 = { - # address = "fe80::1"; - # interface = "ens18"; - # }; + networking.interfaces.ens18.ipv6.addresses = [ + { + address = "2a02:c207:2063:2448::1"; + prefixLength = 64; + } + ]; + networking.defaultGateway6 = { + address = "fe80::1"; + interface = "ens18"; + }; # Open ports in the firewall. networking.firewall = {