jonathanio / update-systemd-resolved

Helper script for OpenVPN to directly update the DNS settings of a link through systemd-resolved via DBus.
Other
761 stars 94 forks source link

Add NixOS module #119

Closed tomeon closed 1 year ago

tomeon commented 1 year ago

This PR introduces a NixOS module for configuring services.openvpn.servers with update-systemd-resolved-specific options.

Additional changes:

  1. Add a devshell command (mkoptdocs) for generating documentation for the options exposed by this module,
  2. Add a Nix flake check that these docs are up-to-date,
  3. Update the NixOS system test to use the new NixOS module, and
  4. Run all Nix flake checks as part of the GitHub Actions workflow.