From 627a84543c84d43c91d67ce621e9065964a70fec Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Thu, 3 Sep 2026 20:57:06 +0200 Subject: [PATCH] Update vpn instructions --- hosts/mars/home.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/hosts/mars/home.nix b/hosts/mars/home.nix index f478394..e418c8d 100644 --- a/hosts/mars/home.nix +++ b/hosts/mars/home.nix @@ -14,10 +14,14 @@ home.packages = with pkgs; [ dosbox-staging # dosbox appears broken on darwin - # 1. Move config file to /usr/local/etc/wireguard/wg0.conf - # 2. sudo wg-quick up wg0 + # 1. Edit config file: + # - comment out DNS setting + # - add instead, replacing with the value of DNS setting: + # PostUp = printf "d.init\nd.add ServerAddresses * \nd.add SupplementalMatchDomains * \"\"\nset State:/Network/Service/wg0/DNS\n" | scutil + # PostDown = printf "remove State:/Network/Service/wg0/DNS\n" | scutil + # 2. Move config file to /usr/local/etc/wireguard/wg0.conf + # 3. sudo wg-quick up wg0 wireguard-tools - wireguard-go antigravity ];