forked from CCCHH/nix-infra
Give Git an IPv6
This commit is contained in:
parent
7ce5c934df
commit
a0e92ff92a
|
@ -1,3 +1,6 @@
|
||||||
|
# Sources for this configuration:
|
||||||
|
# - https://nixos.wiki/wiki/Networking
|
||||||
|
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -13,6 +16,16 @@
|
||||||
networking.nameservers = [ "212.12.50.158" "192.76.134.90" ];
|
networking.nameservers = [ "212.12.50.158" "192.76.134.90" ];
|
||||||
networking.search = [ "hamburg.ccc.de" ];
|
networking.search = [ "hamburg.ccc.de" ];
|
||||||
|
|
||||||
|
networking.interfaces.net0 = {
|
||||||
|
ipv6.addresses = [
|
||||||
|
{
|
||||||
|
address = "2a00:14b0:f000:23:51:136::1";
|
||||||
|
prefixLength = 64;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
networking.defaultGateway6 = "2a00:14b0:f000:23::1";
|
||||||
|
|
||||||
systemd.network.links."10-net0" = {
|
systemd.network.links."10-net0" = {
|
||||||
matchConfig.MACAddress = "92:7B:E6:12:A4:FA";
|
matchConfig.MACAddress = "92:7B:E6:12:A4:FA";
|
||||||
linkConfig.Name = "net0";
|
linkConfig.Name = "net0";
|
||||||
|
|
Loading…
Reference in a new issue