about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-12T01·10+0000
committerVincent Ambo <tazjin@google.com>2020-02-12T01·11+0000
commitc5806a44a728d5a46878f54de7b695321a38559c (patch)
treec87842033cde0e55cf34ad4f54cbd8ee68c55c1e /ops
parent4feb306763d96866de16e336702459aaaec98a3b (diff)
feat(ops/nixos/nugget): Add camden to /etc/hosts r/548
At the moment there is no other way for requests from nugget to camden
to resolve correctly, as the Hyperoptic router is eating this traffic
on the LAN.
Diffstat (limited to 'ops')
-rw-r--r--ops/nixos/nugget/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix
index a71fb0b96aaf..2b30d927fe78 100644
--- a/ops/nixos/nugget/default.nix
+++ b/ops/nixos/nugget/default.nix
@@ -68,6 +68,13 @@ in pkgs.lib.fix(self: {
         psk = "washyourface";
       };
     };
+
+    # The current home router can't forward ports on the local
+    # network, but I'd like to test if camden is serving the correct
+    # certificates.
+    extraHosts = ''
+      192.168.1.205 camden camden.tazj.in git.camden.tazj.in
+    '';
   };
 
   # Generate an immutable /etc/resolv.conf from the nameserver settings