mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
hosts/marisa: ygg endpoint, hosts/daiyousei: ygg
This commit is contained in:
parent
9563a957ec
commit
edf1786377
2 changed files with 18 additions and 1 deletions
|
|
@ -28,6 +28,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
network.yggdrasil = {
|
||||||
|
enable = true;
|
||||||
|
pubkey = "0db7838e7cbab0dc0694f09b683b3a064bf63665415f2af47d1269c2861ffc20";
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts =
|
services.nginx.virtualHosts =
|
||||||
let
|
let
|
||||||
splashy = pkgs.host-splash-site config.networking.hostName;
|
splashy = pkgs.host-splash-site config.networking.hostName;
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,19 @@
|
||||||
nixos.ipv4.address = "104.244.72.5";
|
nixos.ipv4.address = "104.244.72.5";
|
||||||
nixos.ipv6.address = "2605:6400:30:eed1:6cf7:bbfc:b4e:15c0";
|
nixos.ipv6.address = "2605:6400:30:eed1:6cf7:bbfc:b4e:15c0";
|
||||||
};
|
};
|
||||||
firewall.public.interfaces = singleton "ens3";
|
yggdrasil = {
|
||||||
|
enable = true;
|
||||||
|
pubkey = "3b171319fbb6be1716c99f36b83a70346ec655d99afde410a50ca61a1c278c7c";
|
||||||
|
listen.enable = true;
|
||||||
|
listen.endpoints = [ "tcp://${config.network.addresses.public.nixos.ipv4.address}:52969" "tcp://[${config.network.addresses.public.nixos.ipv6.address}]:52969" ];
|
||||||
|
};
|
||||||
|
firewall = {
|
||||||
|
public = {
|
||||||
|
interfaces = singleton "ens3";
|
||||||
|
tcp.ports = singleton 62969;
|
||||||
|
};
|
||||||
|
private.interfaces = singleton "yggdrasil";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/" ={
|
fileSystems."/" ={
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue