move yggdrasil to location folder

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-01-31 20:36:40 -05:00
parent b9f2dbe9cd
commit 3cf51d5fe1
3 changed files with 20 additions and 15 deletions

View File

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
services.yggdrasil = {
enable = true;
persistentKeys = true;
openMulticastPort = true;
config = {
IfName = "yggdrasil0";
Peers = [
"tls://ca1.servers.devices.cwinfo.net:58226"
"tls://192.99.145.61:58226"
"tcp://kusoneko.moe:9002"
];
};
};
}

View File

@ -2,6 +2,8 @@
{
imports = [
../../location/YOW
./hardware-configuration.nix
./prometheus.nix
./solanum.nix

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
imports = [ ./minecraft.nix ];
imports = [ ./minecraft.nix ../../location/YOW ];
users.motd = builtins.readFile ./motd;
@ -9,18 +9,4 @@
networking.hostId = "aeace675";
services.nginx.enable = true;
services.yggdrasil = {
enable = true;
persistentKeys = true;
openMulticastPort = true;
config = {
IfName = "yggdrasil0";
Peers = [
"tls://ca1.servers.devices.cwinfo.net:58226"
"tls://192.99.145.61:58226"
"tcp://kusoneko.moe:9002"
];
};
};
}