Use yggdrasil from nixpkgs

This commit is contained in:
Ehmry - 2019-11-11 17:26:15 +01:00
parent 187b2936a3
commit fb0d9ccd70
2 changed files with 2 additions and 4 deletions

View File

@ -10,7 +10,7 @@
./../../lib/yggdrasil.nix
];
services.yggdrasil.Peers = [
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

View File

@ -1,13 +1,11 @@
{ config, ... }: {
imports = [ (<yggdrasil-package-nix> + "/nixos-module.nix") ];
networking.firewall.extraCommands =
"ip6tables -A INPUT -s fe80::/10 -j ACCEPT";
services.yggdrasil = {
enable = true;
NodeInfo = {
config.NodeInfo = {
name = config.networking.hostName + ".c3d2";
location = "Dresden";
};