Disable the networking tweaks for queen first, test later so we can roll back

This commit is contained in:
Lillian Violet 2024-05-07 10:26:15 +02:00
parent 3b9876bb10
commit 2ce48ca0b6
2 changed files with 23 additions and 18 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake "git+https://git.lillianviolet.dev/Lillian-Violet/dev-templates.git?dir=nix"

View file

@ -98,26 +98,30 @@
# systemd.services.systemd-networkd.serviceConfig.Environment = "SYSTEMD_LOG_LEVEL=debug"; # systemd.services.systemd-networkd.serviceConfig.Environment = "SYSTEMD_LOG_LEVEL=debug";
# Enable networking # Enable networking
networking.networkmanager.enable = true; # networking.networkmanager.enable = true;
networking.nat.enable = true; # networking.nat.enable = true;
networking.nat.internalInterfaces = ["ve-+"]; # networking.nat.internalInterfaces = ["ve-+"];
networking.nat.externalInterface = "ens18"; # networking.nat.externalInterface = "ens18";
networking.enableIPv6 = lib.mkForce true; # networking.enableIPv6 = lib.mkForce true;
networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"]; # networking.nameservers = ["79.143.183.251" "79.143.183.252" "2a02:c207::1:53" "2a02:c207::2:53"];
networking.interfaces.ens18.ipv4.addresses = [ # networking.interfaces.ens18.ipv4.addresses = [
{ # {
address = "62.171.160.195"; # address = "62.171.160.195";
prefixLength = 32; # prefixLength = 32;
} # }
]; # ];
networking.interfaces.ens18.ipv6.addresses = [ # networking.interfaces.ens18.ipv6.addresses = [
{ # {
address = "2a02:c207:2063:2448::1"; # address = "2a02:c207:2063:2448::1";
prefixLength = 64; # prefixLength = 64;
} # }
]; # ];
# networking.defaultGateway6 = {
# address = "fe80::1";
# interface = "ens18";
# };
# Open ports in the firewall. # Open ports in the firewall.
networking.firewall = { networking.firewall = {