Compare commits

..

2 commits

Author SHA1 Message Date
Jet
9260cbff20
feat: set tailscale exit to sjc ip 2026-04-01 19:20:49 -07:00
Jet
526498ce2a
feat: do sudo before nh and exit on fail 2026-04-01 19:20:35 -07:00
2 changed files with 2 additions and 1 deletions

View file

@ -34,7 +34,7 @@
services.tailscale = { services.tailscale = {
enable = true; enable = true;
extraSetFlags = [ extraSetFlags = [
"--exit-node=us-sjc-wg-401.mullvad.ts.net" "--exit-node=100.66.72.23"
"--exit-node-allow-lan-access" "--exit-node-allow-lan-access"
]; ];
}; };

View file

@ -110,6 +110,7 @@
let let
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
nhs = pkgs.writeShellScriptBin "nhs" '' nhs = pkgs.writeShellScriptBin "nhs" ''
sudo -v || exit $?
nh os switch --hostname framework path:. "$@" nh os switch --hostname framework path:. "$@"
''; '';
in in