Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mordragt/valhali
Create avahi aliases
https://github.com/mordragt/valhali
alias avahi cname dbus mdns
Last synced: 26 days ago
JSON representation
Create avahi aliases
- Host: GitHub
- URL: https://github.com/mordragt/valhali
- Owner: MordragT
- Created: 2024-05-10T23:03:24.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2024-05-13T11:47:22.000Z (8 months ago)
- Last Synced: 2024-05-14T12:57:30.423Z (8 months ago)
- Topics: alias, avahi, cname, dbus, mdns
- Language: Rust
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ❄️ Valhali 🦀
[![NixOS](https://img.shields.io/badge/Made_for-Rust-orange.svg?logo=rust&style=for-the-badge)](https://www.rust-lang.org/) [![NixOS](https://img.shields.io/badge/Flakes-Nix-informational.svg?logo=nixos&style=for-the-badge)](https://nixos.org) ![License](https://img.shields.io/github/license/mordragt/nix-templates?style=for-the-badge)
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/)