Emitter: Change IP addresses for new location
This commit is contained in:
parent
ee19a1722a
commit
09d2bf83d4
1 changed files with 15 additions and 28 deletions
|
|
@ -5,8 +5,8 @@
|
|||
./tls_sni.nix
|
||||
];
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "Emitter";
|
||||
|
||||
|
|
@ -14,52 +14,39 @@
|
|||
networking.useDHCP = false;
|
||||
networking = {
|
||||
defaultGateway = {
|
||||
address = "176.96.139.1";
|
||||
interface = "ens18";
|
||||
};
|
||||
defaultGateway6 = {
|
||||
address = "2a0d:5940:80:4e::1";
|
||||
interface = "ens18";
|
||||
address = "152.53.244.1";
|
||||
interface = "ens3";
|
||||
};
|
||||
nameservers = [
|
||||
"46.38.225.230"
|
||||
"46.38.252.230"
|
||||
"2a03:4000:0:1::e1e6"
|
||||
"2a03:4000:8000::fce6"
|
||||
"9.9.9.10"
|
||||
"8.8.8.8"
|
||||
"2606:4700:4700::1111"
|
||||
"2001:4860:4860::8888"
|
||||
];
|
||||
interfaces.ens18 = {
|
||||
interfaces.ens3 = {
|
||||
ipv4 = {
|
||||
addresses = [
|
||||
{
|
||||
address = "176.96.139.54";
|
||||
prefixLength = 24;
|
||||
address = "152.53.246.176";
|
||||
prefixLength = 22;
|
||||
}
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
address = "176.96.139.0";
|
||||
prefixLength = 24;
|
||||
via = "176.96.139.1";
|
||||
address = "152.53.244.0";
|
||||
prefixLength = 22;
|
||||
via = "152.53.244.1";
|
||||
}
|
||||
];
|
||||
};
|
||||
ipv6 = {
|
||||
addresses = [
|
||||
{
|
||||
address = "2a0d:5940:80:4e::2";
|
||||
address = "2a0a:4cc0:c0:93cd::1";
|
||||
prefixLength = 64;
|
||||
}
|
||||
{
|
||||
address = "fe80::4874:40ff:fe38:7a45";
|
||||
prefixLength = 64;
|
||||
}
|
||||
];
|
||||
routes = [
|
||||
{
|
||||
address = "2a0d:5940:80:4e::2";
|
||||
prefixLength = 64;
|
||||
via = "2a0d:5940:80:4e::1";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue