about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-10-30T21·06+0300
committertazjin <tazjin@tvl.su>2022-11-04T01·35+0000
commite6a604ef7364d789d29506f0fb714e06509b493f (patch)
treeb75b51bb8c87f915f32edde1c2e9cfeed76573ed /users
parentf93f138c6c4a372c7692ff235a143326c140ab23 (diff)
chore(tazjin/zamalek): hardcode wifi.silja.fi address r/5238
The DNS server on the network of this boat refuses to deliver *any*
results to my laptop, only to my phone, so I had to do some trickery
to figure out the address of the WiFi login portal.

Change-Id: I7934c570be79d6191feb999e6860428623cfd88f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7168
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/nixos/zamalek/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/users/tazjin/nixos/zamalek/default.nix b/users/tazjin/nixos/zamalek/default.nix
index 51bc412d02cc..4a102dd074b3 100644
--- a/users/tazjin/nixos/zamalek/default.nix
+++ b/users/tazjin/nixos/zamalek/default.nix
@@ -62,6 +62,10 @@ in
     networkmanager.enable = true;
     networkmanager.dns = "none";
 
+    extraHosts = ''
+      10.101.240.1 wifi.silja.fi
+    '';
+
     nameservers = [
       "8.8.8.8"
       "8.8.4.4"