No description
  • Rust 74.1%
  • Nix 25.1%
  • Shell 0.7%
Find a file
Renovate Bot 2c0f4c4522
All checks were successful
/ build (pull_request) Successful in 5s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 2s
/ checks (x86_64-linux, deny) (pull_request) Successful in 2s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 5s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 4s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 4s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 4s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 4s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 2s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 2s
/ report-size (pull_request) Successful in 15s
/ trigger-release (pull_request) Successful in 23s
/ build (push) Successful in 2s
/ checks (x86_64-linux, clippy) (push) Successful in 0s
/ checks (x86_64-linux, deny) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv4-only-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv4-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv6-only-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv6-test) (push) Successful in 1s
/ checks (x86_64-linux, module-nginx-test) (push) Successful in 1s
/ checks (x86_64-linux, nextest) (push) Successful in 1s
/ checks (x86_64-linux, treefmt) (push) Successful in 0s
/ report-size (push) Successful in 1s
/ trigger-release (push) Successful in 7s
chore(deps): update taiki-e/install-action digest to 88d897f
2026-01-27 13:50:43 +01:00
.cargo ci: configure release-plz 2025-08-29 01:07:31 +02:00
.forgejo/workflows ci: add a name to all checkout steps 2026-01-20 20:02:28 +01:00
.github/workflows chore(deps): update taiki-e/install-action digest to 88d897f 2026-01-27 13:50:43 +01:00
flake-modules ci(release): refactor release-script 2026-01-20 21:32:48 +01:00
scripts ci(release): refactor release-script 2026-01-20 21:32:48 +01:00
src fix(test): nextest tests were not being run 2025-09-22 22:36:16 +02:00
.editorconfig refactor: setup renovate to manage dependencies 2024-12-28 10:08:11 +01:00
.envrc [feat] flake.nix: add envrc to run nix develop 2024-06-02 15:49:28 +02:00
.gitignore [feat] flake.nix: add envrc to run nix develop 2024-06-02 15:49:28 +02:00
.release-plz.toml ci(release): change changelog configuration 2026-01-20 20:26:53 +01:00
.rustfmt.toml chore(rust): configure rustfmt to split each import out 2025-09-06 17:55:43 +02:00
Cargo.lock chore(deps): lock file maintenance 2026-01-26 00:01:11 +01:00
Cargo.toml chore: release v0.4.3 2025-11-07 22:06:39 +01:00
CHANGELOG.md fix(changelog): add links to tag comparisons 2026-01-20 21:11:08 +01:00
common-args.nix fix(meta): add myself as a maintainer 2025-11-30 16:49:17 +01:00
default.nix fix(test): nextest tests were not being run 2025-09-22 22:36:16 +02:00
deny.toml ci: run cargo-deny to ensure I agree to all license terms 2025-07-13 19:26:40 +02:00
flake.lock chore(deps): lock file maintenance 2026-01-26 00:01:11 +01:00
flake.nix feat: use rust-overlay to get the rust binaries 2025-05-16 18:36:44 +02:00
justfile chore(release): prepare for 0.3.5 (docs) 2025-01-23 22:49:09 +01:00
LICENSE webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +02:00
module.nix refactor(config)!: change config format to support multiple domains 2025-09-18 22:08:36 +02:00
README.md webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +02:00
renovate.json ci(renovate): reduce maintenance to a weekly schedule 2025-11-18 21:23:38 +01:00

Web NS update

A webserver API for nsupdate. This is only intended for my usecase, so feel free to take inspiration, but don't expect this to be useful to you.

Usage

Note

This was made because I needed it. It probably wont fit your usecase.

Using a flake NixOS configuration add these lines:

{
  inputs.webnsupdate.url = "github:jalil-salame/webnsupdate";
  # inputs.webnsupdate.inputs.nixpkgs.follows = "nixpkgs"; # deduplicate nixpkgs

  # ...
  outputs = {
    nixpkgs,
    webnsupdate,
    ...
  }: {
    # ...
    nixosConfigurations.hostname = let
      system = "...";
      pkgs = import nixpkgs {
        inherit system;
        # IMPORTANT -----------v
        overlays = [webnsupdate.overlays.default];
      };
    in {
      inherit system pkgs;
      modules = [
        webnsupdate.nixosModules.default
        {
          services.webnsupdate = {
            enable = true;
            # ...
          };
        }
      ];
    };
    # ...
  };
}