nix-config/lib/yggdrasil.nix

16 lines
328 B
Nix
Raw Normal View History

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