forked from c3d2/nix-config
hydra: reuse pre-generated yggdrasil keys
This commit is contained in:
parent
41c557695f
commit
93dee9d76a
|
@ -11,12 +11,15 @@
|
||||||
./../../lib/tun.nix
|
./../../lib/tun.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.yggdrasil.config.Peers = [
|
services.yggdrasil.config =
|
||||||
"tcp://[2a03:3b40:fe:ab::1]:46370" # Praha
|
(with builtins; fromJSON (readFile /var/lib/yggdrasil/keys)) // {
|
||||||
"tcp://ygg.thingylabs.io:443" # Nürnberg
|
Peers = [
|
||||||
"tcp://176.223.130.120:22632" # Wrocław
|
"tcp://[2a03:3b40:fe:ab::1]:46370" # Praha
|
||||||
"tcp://[2a05:9403::8b]:7743" # Praha
|
"tcp://ygg.thingylabs.io:443" # Nürnberg
|
||||||
];
|
"tcp://176.223.130.120:22632" # Wrocław
|
||||||
|
"tcp://[2a05:9403::8b]:7743" # Praha
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
services.yggdrasil = {
|
services.yggdrasil = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = (import <nixpkgs-unstable> {}).yggdrasil;
|
package = (import <nixpkgs-unstable> {}).yggdrasil;
|
||||||
|
openMulticastPort = true;
|
||||||
config.NodeInfo = {
|
config.NodeInfo = {
|
||||||
name = config.networking.hostName + ".c3d2";
|
name = config.networking.hostName + ".c3d2";
|
||||||
location = "Dresden";
|
location = "Dresden";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user