mirror of
https://github.com/ivabus/nixos
synced 2024-11-22 00:15:06 +03:00
yggdrasil-roles: run nixfmt
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
0375a858ec
commit
b761ec24d1
2 changed files with 6 additions and 10 deletions
|
@ -9,8 +9,7 @@ in {
|
||||||
services.yggdrasil = {
|
services.yggdrasil = {
|
||||||
enable = true;
|
enable = true;
|
||||||
persistentKeys = true;
|
persistentKeys = true;
|
||||||
settings =
|
settings = {
|
||||||
{
|
|
||||||
# Not connecting to global ygg network
|
# Not connecting to global ygg network
|
||||||
Peers = lib.mkDefault [
|
Peers = lib.mkDefault [
|
||||||
"quic://${secrets.yggdrasil-peer}:60003?password=${secrets.yggdrasil-password}"
|
"quic://${secrets.yggdrasil-peer}:60003?password=${secrets.yggdrasil-password}"
|
||||||
|
|
|
@ -8,12 +8,9 @@ in {
|
||||||
my.features.secrets = lib.mkForce true;
|
my.features.secrets = lib.mkForce true;
|
||||||
my.roles.yggdrasil-client.enable = true;
|
my.roles.yggdrasil-client.enable = true;
|
||||||
services.yggdrasil = {
|
services.yggdrasil = {
|
||||||
enable = true;
|
settings = {
|
||||||
persistentKeys = true;
|
|
||||||
settings =
|
|
||||||
{
|
|
||||||
# Not connecting to global ygg network
|
# Not connecting to global ygg network
|
||||||
Peers = lib.mkForce [];
|
Peers = lib.mkForce [ ];
|
||||||
Listen = [
|
Listen = [
|
||||||
"quic://[::]:60003?password=${secrets.yggdrasil-password}"
|
"quic://[::]:60003?password=${secrets.yggdrasil-password}"
|
||||||
"tls://[::]:60002?password=${secrets.yggdrasil-password}"
|
"tls://[::]:60002?password=${secrets.yggdrasil-password}"
|
||||||
|
|
Loading…
Reference in a new issue