Added yggdrasil + connected to VPS as peer + added Zathura

This commit is contained in:
2026-01-31 16:46:36 +02:00
parent e86715ce40
commit 77eabee8d8
3 changed files with 25 additions and 0 deletions

View File

@@ -26,6 +26,7 @@
../../modules/common/libvirt.nix
../../modules/common/keyd.nix
../../modules/common/unbound-cloud.nix
../../modules/common/yggdrasil.nix
];
networking.hostName = "puter";
# This will be overridden by system/default.nix

View 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
];
};
};
}

View File

@@ -13,5 +13,6 @@
anki-bin
pomodoro-gtk
#ticker
zathura
];
}