Use yggdrasil from nixpkgs
This commit is contained in:
parent
187b2936a3
commit
fb0d9ccd70
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue