No description
- Rust 74%
- Nix 25.2%
- Shell 0.7%
|
All checks were successful
/ build (pull_request) Successful in 2s
/ checks (x86_64-linux, clippy) (pull_request) Successful in 2s
/ checks (x86_64-linux, deny) (pull_request) Successful in 4s
/ checks (x86_64-linux, module-ipv4-test) (pull_request) Successful in 7s
/ checks (x86_64-linux, module-ipv6-only-test) (pull_request) Successful in 7s
/ checks (x86_64-linux, module-ipv6-test) (pull_request) Successful in 7s
/ checks (x86_64-linux, module-nginx-test) (pull_request) Successful in 7s
/ checks (x86_64-linux, nextest) (pull_request) Successful in 2s
/ checks (x86_64-linux, treefmt) (pull_request) Successful in 4s
/ report-size (pull_request) Successful in 29s
/ checks (x86_64-linux, module-ipv4-only-test) (pull_request) Successful in 1m30s
/ trigger-release (pull_request) Successful in 39s
/ build (push) Successful in 2s
/ checks (x86_64-linux, deny) (push) Successful in 2s
/ checks (x86_64-linux, clippy) (push) Successful in 2s
/ checks (x86_64-linux, module-ipv6-only-test) (push) Successful in 1s
/ checks (x86_64-linux, module-ipv4-only-test) (push) Successful in 7s
/ checks (x86_64-linux, module-ipv6-test) (push) Successful in 7s
/ checks (x86_64-linux, module-nginx-test) (push) Successful in 7s
/ checks (x86_64-linux, nextest) (push) Successful in 2s
/ report-size (push) Successful in 1s
/ checks (x86_64-linux, treefmt) (push) Successful in 4s
/ checks (x86_64-linux, module-ipv4-test) (push) Successful in 40s
/ trigger-release (push) Successful in 20s
|
||
|---|---|---|
| .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;
# ...
};
}
];
};
# ...
};
}
Update URL format
Follow the Fritz!BOX format for update URLs: https://fritzhelp.avm.de/help/en/FRITZ-Box-7530-AX/avm/024p2/hilfe_dyndns_update_url_bauen