Skip to content

fix(nix): resolve systemd DNS tools - #654

Merged
yuezk merged 1 commit into
mainfrom
fix/nixos-resolved-tool-paths
Sep 1, 2026
Merged

yuezk merged 1 commit into
mainfrom
fix/nixos-resolved-tool-paths

Conversation

@yuezk

@yuezk yuezk commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Restore systemd-resolved DNS configuration for NixOS VPN connections by using the packaged systemd tools.

Main Changes

  • Rewrite the vendored vpnc-script paths for resolvectl and busctl to their immutable Nix store locations.
  • Apply the rewrite to both source-built and prebuilt Nix packages.

Related PRs

Risks / Notes

  • The substitutions use --replace-fail, so future vendored script path changes will fail the Nix package build instead of silently regressing DNS setup.

Verification

  • sh -n packaging/files/usr/libexec/gpclient/vpnc-script
  • git diff --check
  • Nix builds were not run locally because Nix is unavailable on this macOS host.

@yuezk
yuezk merged commit 3882e29 into main Sep 1, 2026
9 checks passed
@yuezk
yuezk deleted the fix/nixos-resolved-tool-paths branch September 1, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tun0 gets no VPN DNS on systemd-resolved after reconnect (split tunnel, NixOS)

1 participant