From 9b04ebedde7aa2bccd1536fe11eab55aea5a5c3b Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Tue, 4 Aug 2020 08:52:41 +0200 Subject: [PATCH] server7: update yggdrasil peers --- hosts/server7/default.nix | 55 +++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/hosts/server7/default.nix b/hosts/server7/default.nix index d4223387..a0490694 100644 --- a/hosts/server7/default.nix +++ b/hosts/server7/default.nix @@ -33,37 +33,54 @@ in { }; }; - /* fileSystems."/srv/ceph" = { - device = "172.22.99.13:6789:/"; - fsType = "ceph"; - options = [ - "name=storage2" - "secret=AQAvRhxcaCK0IxAAnoe00oiopcpQeKZgL02RWw==" - "noatime,_netdev" - "noauto" - "x-systemd.automount" - "x-systemd.device-timeout=175" - "users" - ]; - }; - */ + fileSystems."/srv/ceph" = { + #device = "172.22.99.13:6789:/"; + device = "172.20.72.53:6789:/"; + fsType = "ceph"; + options = [ + "name=storage2" + "secret=AQAvRhxcaCK0IxAAnoe00oiopcpQeKZgL02RWw==" + "noatime,_netdev" + "noauto" + "x-systemd.automount" + "x-systemd.device-timeout=175" + "users" + ]; + }; fileSystems."/var/lib/ceph/osd/ceph-7" = { fsType = "tmpfs"; }; # Route IPv6 boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1; # Obtain global IPv6 despite being a router myself - boot.kernel.sysctl."net.ipv6.conf.eth0.accept_ra" = 2; + boot.kernel.sysctl."net.ipv6.conf.br0.accept_ra" = 2; services.yggdrasil = { enable = true; configFile = "/var/lib/yggdrasil/keys"; config = { Peers = [ - "tcp://[2a03:3b40:fe:ab::1]:46370" # Praha - "tcp://ygg.thingylabs.io:443" # Nürnberg - "tcp://176.223.130.120:22632" # Wrocław - "tcp://[2a05:9403::8b]:7743" # Praha + + # Deutschland + "tcp://45.11.19.26:5001" + "tcp://82.165.69.111:61216" + "tcp://[2001:8d8:1800:8224::1]:61216" + + # Czechia + "tcp://195.123.245.146:7743" + "tcp://37.205.14.171:46370" + "tcp://[2a03:3b40:fe:ab::1]:46370" + "tcp://[2a05:9403::8b]:7743" + + # Poland + "tcp://176.223.130.120:22632" + "tcp://51.75.44.73:50001" + "tcp://54.37.137.221:37145" + "tcp://[2001:41d0:601:1100::cf2]:37145" + "tcp://n2o.ddns.net:22632" + "tls://54.37.137.221:14987" + "tls://[2001:41d0:601:1100::cf2]:14987" + ]; NodeInfo = { location = "Dresden";