No description
|
All checks were successful
/ build (pull_request) Successful in 3s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 3s
/ checks (x86_64-linux, deny) (pull_request) Successful in 2s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 38s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 31s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 32s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 2s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 2s
/ trigger-release (pull_request) Successful in 20s
/ report-size (pull_request) Successful in 11s
/ build (push) Successful in 3s
/ 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 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 1s
/ trigger-release (push) Successful in 5s
/ report-size (push) Successful in 1s
|
||
|---|---|---|
| .cargo | ||
| .forgejo/workflows | ||
| .github/workflows | ||
| flake-modules | ||
| src | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .release-plz.toml | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| cliff.toml | ||
| common-args.nix | ||
| default.nix | ||
| deny.toml | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| LICENSE | ||
| module.nix | ||
| README.md | ||
| renovate.json | ||
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;
# ...
};
}
];
};
# ...
};
}