From 526498ce2a73334be1248b77f709cc0242c74d04 Mon Sep 17 00:00:00 2001 From: Jet Date: Wed, 1 Apr 2026 18:05:42 -0700 Subject: [PATCH 1/2] feat: do sudo before nh and exit on fail --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index dc4610f..e0c9d5f 100644 --- a/flake.nix +++ b/flake.nix @@ -110,6 +110,7 @@ let pkgs = nixpkgs.legacyPackages.x86_64-linux; nhs = pkgs.writeShellScriptBin "nhs" '' + sudo -v || exit $? nh os switch --hostname framework path:. "$@" ''; in From 9260cbff20617a4811749d2e7bad4df67240638b Mon Sep 17 00:00:00 2001 From: Jet Date: Wed, 1 Apr 2026 18:05:42 -0700 Subject: [PATCH 2/2] feat: set tailscale exit to sjc ip --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 741c4ef..7742705 100644 --- a/configuration.nix +++ b/configuration.nix @@ -34,7 +34,7 @@ services.tailscale = { enable = true; extraSetFlags = [ - "--exit-node=us-sjc-wg-401.mullvad.ts.net" + "--exit-node=100.66.72.23" "--exit-node-allow-lan-access" ]; };