https://github.com/mordragt/valhali
Create avahi aliases
https://github.com/mordragt/valhali
alias avahi cname dbus mdns
Last synced: 11 months ago
JSON representation
Create avahi aliases
- Host: GitHub
- URL: https://github.com/mordragt/valhali
- Owner: MordragT
- Created: 2024-05-10T23:03:24.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-16T17:13:32.000Z (over 1 year ago)
- Last Synced: 2025-07-05T00:05:24.805Z (12 months ago)
- Topics: alias, avahi, cname, dbus, mdns
- Language: Rust
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ❄️ Valhali 🦀
[](https://www.rust-lang.org/) [](https://nixos.org) 
Simple Tokio Service to publish MDNS services and domain aliases
## About
This is a simple tokio service which will watch for config file changes,
and publish services and aliases by sending the requests to avahi via dbus.
## Usage - Nixos
Use the provided nixos module defined in `flake.nix`
## Usage - Linux WIP
At the moment you have to create your own service file for e.g. systemd.
First install the valhali daemon and then use the following exec:
```bash
valhalid /etc/valhali/config.toml
```
You can look at the provided config under `etc/valhali/config.toml` to see how services and aliases can be defined
## Reference
1. [wiki/Flakes](https://nixos.wiki/wiki/Flakes)
2. [Avahi](https://avahi.org/)