Installed and configured Yggdrasil; ported rustnet and install; GRUB trial of USB Live stick
23 lines
754 B
Nix
23 lines
754 B
Nix
{pkgs, ...}: {
|
|
services.yggdrasil = {
|
|
enable = true;
|
|
persistentKeys = false;
|
|
# The NixOS module will generate new keys and a new IPv6 address each time
|
|
# it is started if persistentKeys is not enabled.
|
|
|
|
settings = {
|
|
Peers = [
|
|
# Yggdrasil will automatically connect and "peer" with other nodes it
|
|
# discovers via link-local multicast announcements. Unless this is the
|
|
# case (it probably isn't) a node needs peers within the existing
|
|
# network that it can tunnel to.
|
|
#"tcp://185.165.169.234:8880"
|
|
#"tls://185.165.169.234:8443"
|
|
"tcp://10.0.0.1:4242"
|
|
# Public peers can be found at
|
|
# https://github.com/yggdrasil-network/public-peers
|
|
];
|
|
};
|
|
};
|
|
}
|