No description
- Rust 74.1%
- Nix 25.1%
- Shell 0.7%
|
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
|
||
|---|---|---|
| .cargo | ||
| .forgejo/workflows | ||
| .github/workflows | ||
| flake-modules | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .release-plz.toml | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| CHANGELOG.md | ||
| 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;
# ...
};
}
];
};
# ...
};
}