about summary refs log tree commit diff
path: root/ops/nixos/www
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-11-22T17·28-0500
committerglittershark <grfn@gws.fyi>2020-11-22T22·55+0000
commit64ef09c47549457d0f2c808ad25c0d3c0efc9cd9 (patch)
tree4d581fb43040adda6b07529fdf912107f3be121e /ops/nixos/www
parent9a24294b8a90c31cdb55f0cffeb406cadb7d3c07 (diff)
feat(whitby): Move wigglydonke.rs to whitby r/1907
Mugwump is too unstable for such an important internet service

Change-Id: Ic714200ce5ce51f366777f538b4a6f443f010960
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2124
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos/www')
-rw-r--r--ops/nixos/www/wigglydonke.rs.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/ops/nixos/www/wigglydonke.rs.nix b/ops/nixos/www/wigglydonke.rs.nix
new file mode 100644
index 000000000000..0774eaea7c70
--- /dev/null
+++ b/ops/nixos/www/wigglydonke.rs.nix
@@ -0,0 +1,15 @@
+{ config, lib, pkgs, ... }:
+
+{
+  imports = [
+    ./base.nix
+  ];
+
+  config = {
+    services.nginx.virtualHosts."wigglydonke.rs" = {
+      enableACME = true;
+      forceSSL = true;
+      root = "${config.depot.depotPath}/users/glittershark/wigglydonke.rs";
+    };
+  };
+}