server7: add yggdrasil container
This commit is contained in:
parent
05d79734de
commit
44b080063b
|
@ -0,0 +1,22 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
<nixpkgs/nixos/modules/profiles/minimal.nix>
|
||||||
|
../../lib/hq.nix
|
||||||
|
../../lib/yggdrasil.nix
|
||||||
|
./yggdrasil-prefix.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
services.yggdrasil = {
|
||||||
|
openMulticastPort = 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue