No description
6b4c0c4865
Locking 31 packages to latest compatible versions Updating bytes v1.8.0 -> v1.9.0 Updating cc v1.2.1 -> v1.2.5 Updating clap v4.5.21 -> v4.5.23 Updating clap-verbosity-flag v3.0.0 -> v3.0.2 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_lex v0.7.3 -> v0.7.4 Updating console v0.15.8 -> v0.15.10 Updating encode_unicode v0.3.6 -> v1.0.0 Updating errno v0.3.9 -> v0.3.10 Removing hermit-abi v0.3.9 Updating http v1.1.0 -> v1.2.0 Updating hyper v1.5.1 -> v1.5.2 Updating itoa v1.0.13 -> v1.0.14 Updating libc v0.2.164 -> v0.2.169 Updating miette v7.2.0 -> v7.4.0 Updating miette-derive v7.2.0 -> v7.4.0 Updating miniz_oxide v0.8.0 -> v0.8.2 Updating mio v1.0.2 -> v1.0.3 Updating rustix v0.38.41 -> v0.38.42 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Removing smawk v0.3.2 Updating socket2 v0.5.7 -> v0.5.8 Updating supports-color v3.0.1 -> v3.0.2 Updating supports-hyperlinks v3.0.0 -> v3.1.0 Updating syn v2.0.89 -> v2.0.90 Removing sync_wrapper v0.1.2 Updating terminal_size v0.3.0 -> v0.4.1 Updating tokio v1.41.1 -> v1.42.0 Updating tower v0.5.1 -> v0.5.2 Updating tracing v0.1.40 -> v0.1.41 Updating tracing-attributes v0.1.27 -> v0.1.28 Updating tracing-core v0.1.32 -> v0.1.33 Updating tracing-subscriber v0.3.18 -> v0.3.19 Removing windows-sys v0.48.0 Removing windows-targets v0.48.5 Removing windows_aarch64_gnullvm v0.48.5 Removing windows_aarch64_msvc v0.48.5 Removing windows_i686_gnu v0.48.5 Removing windows_i686_msvc v0.48.5 Removing windows_x86_64_gnu v0.48.5 Removing windows_x86_64_gnullvm v0.48.5 Removing windows_x86_64_msvc v0.48.5 note: pass `--verbose` to see 12 unchanged dependencies behind latest |
||
---|---|---|
.cargo | ||
.forgejo/workflows | ||
flake-modules | ||
src | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
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;
# ...
};
}
];
};
# ...
};
}