forked from c3d2/nix-config
Replace yggdrasil submodule with an input
This commit is contained in:
parent
ca7067b1da
commit
363f28fb47
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue