about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/whitby/default.nix1
-rw-r--r--ops/nixos/www/wigglydonke.rs.nix15
-rw-r--r--users/glittershark/system/system/machines/mugwump.nix6
3 files changed, 16 insertions, 6 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix
index e12d6341d8ca..b9f0b48122f2 100644
--- a/ops/nixos/whitby/default.nix
+++ b/ops/nixos/whitby/default.nix
@@ -32,6 +32,7 @@ in lib.fix(self: {
     "${depot.depotPath}/ops/nixos/www/todo.tvl.fyi.nix"
     "${depot.depotPath}/ops/nixos/www/tvl.fyi.nix"
     "${depot.depotPath}/ops/nixos/www/b.tvl.fyi.nix"
+    "${depot.depotPath}/ops/nixos/www/wigglydonke.rs.nix"
     "${depot.third_party.nixpkgsSrc}/nixos/modules/services/web-apps/gerrit.nix"
   ];
 
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";
+    };
+  };
+}
diff --git a/users/glittershark/system/system/machines/mugwump.nix b/users/glittershark/system/system/machines/mugwump.nix
index 7d930fc20aa5..64ee36ca72f3 100644
--- a/users/glittershark/system/system/machines/mugwump.nix
+++ b/users/glittershark/system/system/machines/mugwump.nix
@@ -111,12 +111,6 @@ with lib;
           proxyPass = "http://localhost:${toString config.services.grafana.port}";
         };
       };
-
-      "wigglydonke.rs" = {
-        enableACME = true;
-        forceSSL = true;
-        root = ../../../wigglydonke.rs;
-      };
     };
   };