No description
Find a file
Renovate Bot e28f033de0
All checks were successful
/ build (pull_request) Successful in 51s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 12s
/ checks (x86_64-linux, deny) (pull_request) Successful in 3s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 31s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 31s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 30s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 31s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 3s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 2s
/ trigger-release (pull_request) Successful in 22s
/ report-size (pull_request) Successful in 6s
/ build (push) Successful in 2s
/ checks (x86_64-linux, clippy) (push) Successful in 1s
/ checks (x86_64-linux, deny) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv4-only-test) (push) Successful in 2s
/ checks (x86_64-linux, module-ipv4-test) (push) Successful in 2s
/ checks (x86_64-linux, module-ipv6-only-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv6-test) (push) Successful in 2s
/ 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 1s
/ trigger-release (push) Successful in 8s
/ report-size (push) Successful in 2s
chore(deps): lock file maintenance
2025-09-12 22:00:31 +02:00
.cargo ci: configure release-plz 2025-08-29 01:07:31 +02:00
.forgejo/workflows chore(deps): update https://git.salame.cl/jalil/nix-flake-outputs-size digest to ce10ad9 2025-09-11 18:30:47 +02:00
flake-modules ci(report-size): only report package size 2025-08-29 22:40:13 +02:00
src chore(rust): remove direct dependency on the http crate 2025-09-06 18:29:21 +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: configure release-plz 2025-08-29 01:07:31 +02: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 2025-09-12 22:00:31 +02:00
Cargo.toml chore(rust): even more clippy lints 2025-09-06 18:41:02 +02:00
CHANGELOG.md chore: release v0.3.7 2025-08-29 22:43:05 +02:00
cliff.toml feat: add git-cliff to generate changelogs 2024-12-22 13:12:52 +01:00
default.nix refactor(package): share more stuff 2025-07-13 19:04:35 +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 2025-09-12 22:00:31 +02: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 feat: add config file to webnsupdate 2025-03-19 23:05:38 +01:00
README.md webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +02:00
renovate.json ci(renovate): don't pin dev dependencies in the Cargo.toml 2025-09-02 13:27:17 +02: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;
            # ...
          };
        }
      ];
    };
    # ...
  };
}