New uplink / ipv6 support
This commit is contained in:
parent
c005b5b65c
commit
4a520dfa0c
|
@ -44,6 +44,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
comma
|
||||
dogdns
|
||||
du-dust
|
||||
git
|
||||
killall
|
||||
mtr
|
||||
|
|
|
@ -37,14 +37,26 @@
|
|||
# Enable networking
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
networking.interfaces.ens19.ipv4.addresses = [{
|
||||
address = "185.138.143.227";
|
||||
prefixLength = 29;
|
||||
}];
|
||||
networking.interfaces.ens20 = {
|
||||
ipv4.addresses = [{
|
||||
address = "91.198.192.199";
|
||||
prefixLength = 27;
|
||||
}];
|
||||
|
||||
ipv6.addresses = [{
|
||||
address = "2001:67c:b54:1::6";
|
||||
prefixLength = 64;
|
||||
}];
|
||||
};
|
||||
|
||||
networking.defaultGateway = {
|
||||
address = "185.138.143.225";
|
||||
interface = "ens19";
|
||||
address = "91.198.192.193";
|
||||
interface = "ens20";
|
||||
};
|
||||
|
||||
networking.defaultGateway6 = {
|
||||
address = "2001:67c:b54:1::1";
|
||||
interface = "ens20";
|
||||
};
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
|
|
Loading…
Reference in New Issue