about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-18T21·29+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-18T22·08+0000
commitdd9788fa7311ad7722f68f30f31c6aa472c99f07 (patch)
treebf49d286592fbd01dbbb40831da982c7df2b2170 /nixos
parent79b5fce68a6e4c0a190f69b319b8e4f46ede3f91 (diff)
Create line chart of UK confirmed corona virus cases
I was having trouble tracking the growth of corona virus cases in the UK.
Thankfully someone is publishing some daily COVID data as JSON. I downloaded
that data manually and plotted it using the chart.js library as a programming
exercise with Mimi.

Now I'm attempting to deploy to https://wpcarro.dev/covid-uk.

TODO(wpcarro): Prefer the live API data instead my soon-to-be-stale downloaded.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/socrates/configuration.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index 09e5afb09b..ba2e20bc10 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -171,6 +171,11 @@ in {
         enableACME = true;
         root = briefcase.blog;
       };
+      "wpcarro.dev" = {
+        addSSL = true;
+        enableACME = true;
+        root = briefcase.covid-uk;
+      };
     };
   };