Emitter: Change configuration for new home

This commit is contained in:
fruchti 2023-12-02 20:29:47 +01:00
parent c14bc08deb
commit a5d18374bf

View file

@ -6,7 +6,7 @@
]; ];
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda"; boot.loader.grub.device = "/dev/sda";
networking.hostName = "Emitter"; networking.hostName = "Emitter";
@ -14,12 +14,12 @@
networking.useDHCP = false; networking.useDHCP = false;
networking = { networking = {
defaultGateway = { defaultGateway = {
address = "2.59.133.1"; address = "176.96.139.1";
interface = "ens3"; interface = "ens18";
}; };
defaultGateway6 = { defaultGateway6 = {
address = "2a0d:5940:7::1"; address = "2a0d:5940:80:4e::1";
interface = "ens3"; interface = "ens18";
}; };
nameservers = [ nameservers = [
"9.9.9.10" "9.9.9.10"
@ -27,38 +27,38 @@
"2606:4700:4700::1111" "2606:4700:4700::1111"
"2001:4860:4860::8888" "2001:4860:4860::8888"
]; ];
interfaces.ens3 = { interfaces.ens18 = {
ipv4 = { ipv4 = {
addresses = [ addresses = [
{ {
address = "2.59.133.12"; address = "176.96.139.54";
prefixLength = 24; prefixLength = 24;
} }
]; ];
routes = [ routes = [
{ {
address = "2.59.133.0"; address = "176.96.139.0";
prefixLength = 24; prefixLength = 24;
via = "2.59.133.1"; via = "176.96.139.1";
} }
]; ];
}; };
ipv6 = { ipv6 = {
addresses = [ addresses = [
{ {
address = "2a0d:5940:7:16f:216:3cff:fe63:9a54"; address = "2a0d:5940:80:4e::2";
prefixLength = 64; prefixLength = 64;
} }
{ {
address = "fe80::216:3cff:fe63:9a54"; address = "fe80::4874:40ff:fe38:7a45";
prefixLength = 64; prefixLength = 64;
} }
]; ];
routes = [ routes = [
{ {
address = "2a0d:5940:7:16f:216:3cff:fe63:9a54"; address = "2a0d:5940:80:4e::2";
prefixLength = 64; prefixLength = 64;
via = "2a0d:5940:7::1"; via = "2a0d:5940:80:4e::1";
} }
]; ];
}; };