diff --git a/hardware/location/YOW/default.nix b/hardware/location/YOW/default.nix new file mode 100644 index 0000000..c44ab0b --- /dev/null +++ b/hardware/location/YOW/default.nix @@ -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" + ]; + }; + }; +} diff --git a/hosts/chrysalis/default.nix b/hosts/chrysalis/default.nix index 54fbed4..e345b0a 100644 --- a/hosts/chrysalis/default.nix +++ b/hosts/chrysalis/default.nix @@ -2,6 +2,8 @@ { imports = [ + ../../location/YOW + ./hardware-configuration.nix ./prometheus.nix ./solanum.nix diff --git a/hosts/logos/default.nix b/hosts/logos/default.nix index b20a158..a88e673 100755 --- a/hosts/logos/default.nix +++ b/hosts/logos/default.nix @@ -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" - ]; - }; - }; }