feat: earth has been revived to calculate the Question of Life, the Universe and Everything.

This commit is contained in:
silver 2023-09-16 01:35:26 +01:00
parent 9f42b60940
commit 22163528d9
22 changed files with 90 additions and 84 deletions

View file

@ -30,12 +30,12 @@
skynet_dns.records = [
# means root domain, so skynet.ie
{record="@"; r_type="A"; value=cfg.host.ip;}
{record="2016"; r_type="CNAME"; value="@";}
{record="discord"; r_type="CNAME"; value="@";}
{record="2016"; r_type="CNAME"; value=cfg.host.name;}
{record="discord"; r_type="CNAME"; value=cfg.host.name;}
];
networking.firewall.allowedTCPPorts = [80 443];
services.httpd = {
services.nginx = {
enable = true;
group = "acme";
@ -44,17 +44,14 @@
"skynet.ie" = {
forceSSL = true;
useACMEHost = "skynet";
documentRoot = "${inputs.skynet_website.defaultPackage."x86_64-linux"}";
# only on skynet.ie
# skynet.ie/~username
#enableUserDir = true;
root = "${inputs.skynet_website.defaultPackage."x86_64-linux"}";
};
# archive of teh site as it was ~2012 to 2016
"2016.skynet.ie" = {
forceSSL = true;
useACMEHost = "skynet";
documentRoot = "${inputs.skynet_website_2016.defaultPackage."x86_64-linux"}";
root = "${inputs.skynet_website_2016.defaultPackage."x86_64-linux"}";
};
# archive of teh site as it was ~2012 to 2016