reNixos/s0melapt0p-nix/services/yggdrasil.nix
s0me1newithhand7s e4e1b03c7e
treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
2025-10-24 21:03:46 +03:00

46 lines
1.2 KiB
Nix

{config, ...}: {
services = {
yggdrasil = {
enable = true;
persistentKeys = false;
settings = {
PrivateKey = config.sops.secrets.yggKeyLT.path;
Peers = [
# only 1W+ peers (some exeptions are possible)
# Russia
"tls://yggno.de:18227"
"tcp://yggno.de:18226"
"tcp://kzn1.neonxp.ru:7991"
"tls://kzn1.neonxp.ru:7992"
"ws://kzn1.neonxp.ru:7993"
"quic://kzn1.neonxp.ru:7994"
];
Listen = [
#
];
MulticastInterfaces = [
{
Regex = ".*";
Beacon = true;
Listen = false;
Password = "";
}
];
AllowedPublicKeys = [
#
];
IfName = "auto";
IfMTU = 65535;
NodeInfoPrivacy = false;
};
};
};
}