Compare commits
2 Commits
1a8745e836
...
77eabee8d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 77eabee8d8 | |||
| e86715ce40 |
@@ -26,6 +26,7 @@
|
|||||||
../../modules/common/libvirt.nix
|
../../modules/common/libvirt.nix
|
||||||
../../modules/common/keyd.nix
|
../../modules/common/keyd.nix
|
||||||
../../modules/common/unbound-cloud.nix
|
../../modules/common/unbound-cloud.nix
|
||||||
|
../../modules/common/yggdrasil.nix
|
||||||
];
|
];
|
||||||
networking.hostName = "puter";
|
networking.hostName = "puter";
|
||||||
# This will be overridden by system/default.nix
|
# This will be overridden by system/default.nix
|
||||||
|
|||||||
23
modules/common/yggdrasil.nix
Normal file
23
modules/common/yggdrasil.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{ 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -14,6 +14,5 @@
|
|||||||
librewolf
|
librewolf
|
||||||
transmission_4-gtk
|
transmission_4-gtk
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
thedesk
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,5 +13,6 @@
|
|||||||
anki-bin
|
anki-bin
|
||||||
pomodoro-gtk
|
pomodoro-gtk
|
||||||
#ticker
|
#ticker
|
||||||
|
zathura
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user