No description
|
Some checks failed
/ build (pull_request) Successful in 4s
/ 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 5s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 5s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 5s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 5s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 3s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 3s
/ trigger-release (pull_request) Successful in 19s
/ report-size (pull_request) Successful in 12s
/ 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) Has been cancelled
/ 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;
# ...
};
}
];
};
# ...
};
}