I’m experiencing a startup failure with WireGuard UI v0.6.2 on a NixOS system. The service fails to start with the following error:
[user@nixos ~]$ wireguard-ui
Wireguard UI
App Version : v0.6.2
Git Commit : N/A
Git Ref : N/A
Build Time : 02-19-2025 04:08:15
Git Repo : https://github.com/ngoduykhanh/wireguard-ui
Authentication : true
Bind address : 0.0.0.0:5000
Email from :
Email from name : WireGuard UI
Custom wg.conf :
Base path : /
Subnet ranges :
{"time":"2025-02-19T05:08:15.421547056+01:00","level":"FATAL","prefix":"-","file":"main.go","line":"327","message":"Cannot create server config: open /etc/wireguard/wg0.conf: no such file or directory"}
I’ve configured WireGuard through the Nix configuration system rather than directly creating the config files.