No description
Find a file
forgejo-actions a06a626eda chore: cargo update
Locking 19 packages to latest compatible versions
    Updating anstream v0.6.17 -> v0.6.18
    Updating anstyle v1.0.9 -> v1.0.10
    Updating axum v0.7.7 -> v0.7.8
    Updating cc v1.1.31 -> v1.2.1
    Updating clap v4.5.20 -> v4.5.21
    Updating clap-verbosity-flag v2.2.2 -> v2.2.3
    Updating clap_builder v4.5.20 -> v4.5.21
    Updating clap_lex v0.7.2 -> v0.7.3
    Updating hyper-util v0.1.9 -> v0.1.10
    Updating insta v1.40.0 -> v1.41.1
    Updating libc v0.2.161 -> v0.2.162
    Updating regex-automata v0.4.8 -> v0.4.9
    Updating rustix v0.38.37 -> v0.38.40
    Updating serde v1.0.213 -> v1.0.215
    Updating serde_derive v1.0.213 -> v1.0.215
    Updating syn v2.0.85 -> v2.0.87
    Updating thiserror v1.0.65 -> v1.0.69 (latest: v2.0.3)
    Updating thiserror-impl v1.0.65 -> v1.0.69 (latest: v2.0.3)
    Updating tokio v1.41.0 -> v1.41.1
note: pass `--verbose` to see 24 unchanged dependencies behind latest
2024-11-16 04:42:45 +01:00
.cargo feat: switch to crane 2024-10-28 21:55:53 +01:00
.forgejo/workflows fix(ci): do not use a name when logging in 2024-10-12 22:19:00 +02:00
flake-modules fix: overlay was broken T-T 2024-10-28 22:41:12 +01:00
src feat: add -v verbosity flag 2024-10-28 10:39:14 +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
Cargo.lock chore: cargo update 2024-11-16 04:42:45 +01:00
Cargo.toml chore: bump version 2024-10-28 22:44:51 +01:00
flake.lock feat: switch to crane 2024-10-28 21:55:53 +01:00
flake.nix feat: switch to crane 2024-10-28 21:55:53 +01:00
LICENSE webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +02:00
README.md webnsupdate: Init at version 0.1.0 2024-05-08 21:37:19 +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;
            # ...
          };
        }
      ];
    };
    # ...
  };
}