init
This commit is contained in:
commit
b6cdc78668
210 changed files with 9929 additions and 0 deletions
48
s0melapt0p-nix/services/yggdrasil.nix
Normal file
48
s0melapt0p-nix/services/yggdrasil.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
...
|
||||
}: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue