How to access a service's generated configuration

Hi all,

I’m trying to implement a guix system service (using [GitHub - MindFlavor/prometheus_wireguard_exporter: A Prometheus exporter for WireGuard, written in Rust.]) that needs to access the wireguard configuration file from the store for friendly peer names, and I’m hitting a wall here :frowning:

Did anyone attempt this before or know a service doing it?

Thank you,
Razvan aka TinHead

It was a longshot the above :slight_smile: In the end I’ve redefined guix’s wireguard service to also link the generated configuration to /etc/wireguard/interfacename.conf

You can find the service definition in my channel here: GitHub - TinHead/th-guix-channel: my guix channel

2 Likes