hydra: reuse pre-generated yggdrasil keys
This commit is contained in:
parent
41c557695f
commit
93dee9d76a
|
@ -11,12 +11,15 @@
|
|||
./../../lib/tun.nix
|
||||
];
|
||||
|
||||
services.yggdrasil.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
|
||||
];
|
||||
services.yggdrasil.config =
|
||||
(with builtins; fromJSON (readFile /var/lib/yggdrasil/keys)) // {
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
services.yggdrasil = {
|
||||
enable = true;
|
||||
package = (import <nixpkgs-unstable> {}).yggdrasil;
|
||||
openMulticastPort = true;
|
||||
config.NodeInfo = {
|
||||
name = config.networking.hostName + ".c3d2";
|
||||
location = "Dresden";
|
||||
|
|
Loading…
Reference in New Issue