2019-10-01 18:17:30 +02:00
|
|
|
{ config, ... }: {
|
2019-11-12 00:50:02 +01:00
|
|
|
imports = [
|
|
|
|
<nixpkgs-master/nixos/modules/services/networking/yggdrasil.nix>
|
|
|
|
];
|
2019-10-01 18:17:30 +02:00
|
|
|
|
2019-11-09 14:34:45 +01:00
|
|
|
networking.firewall.extraCommands =
|
|
|
|
"ip6tables -A INPUT -s fe80::/10 -j ACCEPT";
|
2019-10-01 18:17:30 +02:00
|
|
|
|
|
|
|
services.yggdrasil = {
|
|
|
|
enable = true;
|
2019-11-11 17:26:15 +01:00
|
|
|
config.NodeInfo = {
|
2019-10-01 18:17:30 +02:00
|
|
|
name = config.networking.hostName + ".c3d2";
|
2019-11-09 14:34:45 +01:00
|
|
|
location = "Dresden";
|
2019-10-01 18:17:30 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|