Replace yggdrasil submodule with an input

This commit is contained in:
Emery Hemingway 2019-11-09 16:50:57 +01:00
rodzic ca7067b1da
commit 363f28fb47
5 zmienionych plików z 5 dodań i 6 usunięć

3
.gitmodules vendored
Wyświetl plik

@ -1,6 +1,3 @@
[submodule "secrets"]
path = secrets
url = ssh://git@gitea.c3d2.de:2222/c3d2-admins/secrets.git
[submodule "overlays/yggdrasil-package-nix"]
path = overlays/yggdrasil-package-nix
url = https://github.com/ehmry/yggdrasil-package-nix.git

Wyświetl plik

@ -19,6 +19,7 @@ in
../../lib/default-gateway.nix
../../lib/hail.nix
../../lib/hq.nix
../../lib/yggdrasil.nix
];
# Use the systemd-boot EFI boot loader.

Wyświetl plik

@ -10,7 +10,7 @@
./../../lib/yggdrasil.nix
];
services.yggdrasil.config.Peers = [
services.yggdrasil.Peers = [
"tcp://[2a03:3b40:fe:ab::1]:46370" # Praha
"tcp://ygg.thingylabs.io:443" # Nürnberg
"tcp://176.223.130.120:22632" # Wrocław

Wyświetl plik

@ -1,11 +1,13 @@
{ config, ... }: {
imports = [ (<yggdrasil-package-nix> + "/nixos-module.nix") ];
networking.firewall.extraCommands =
"ip6tables -A INPUT -s fe80::/10 -j ACCEPT";
services.yggdrasil = {
enable = true;
config.NodeInfo = {
NodeInfo = {
name = config.networking.hostName + ".c3d2";
location = "Dresden";
};

@ -1 +0,0 @@
Subproject commit a0ee45162f90401acc52f929a7544838ec13a309