server7/yggdrasil: import lib/ygdrasil.nix
This commit is contained in:
parent
fe6823b7cf
commit
cec0945c8e
|
@ -4,7 +4,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
<nixpkgs/nixos/modules/profiles/minimal.nix>
|
<nixpkgs/nixos/modules/profiles/minimal.nix>
|
||||||
../../../../lib/hq.nix
|
../../../../lib/hq.nix
|
||||||
../../../../lib/yggdrasil-service.nix
|
../../../../lib/yggdrasil.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
@ -21,7 +21,6 @@
|
||||||
boot.kernel.sysctl."net.ipv6.conf.eth0.accept_ra" = 2;
|
boot.kernel.sysctl."net.ipv6.conf.eth0.accept_ra" = 2;
|
||||||
|
|
||||||
services.yggdrasil = {
|
services.yggdrasil = {
|
||||||
enable = true;
|
|
||||||
openMulticastPort = true;
|
openMulticastPort = true;
|
||||||
configFile = "/var/lib/yggdrasil/keys";
|
configFile = "/var/lib/yggdrasil/keys";
|
||||||
config.Peers = [
|
config.Peers = [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user