[Fixed for nixos] - nm-applet needs to be running in the background.
Putting protonvpn-gui in user packages, when using gnome, needs no extra config and everything works perfectly. After installing hyprland though, the gui falls into an infinite reconnect cycle.
I’ve searched for what packages I may need to install explicitly, a tried messing around with different wireguard and openvpn options, but nothing seems to work. I can’t seem to find a solution
What am I missing to get protonvpn-gui to work on hyprland?
Notes: protonvpn-cli doesn’t work on either, problem for another day. I know there are other vpns like mullvad with their own nix options, but I really just need the occasional vpn, so proton suits me best.
Did you ever find a solution? I’m having the same issue.
Yes, sorry I didn’t post the fix earlier.
- Install network manager applet.
1a. I used home manager, so it probably doesn’t matter.
- Add nm-applet to an exec-once line in your config.
- Restart hyprland or execute nm-applet.
I found them to only work when nm-applet is running in the tray, so I figure there’s some kind of routing or resolution stuff that it fixes. Just another thing for me to learn how it works.
Tell me if it works. I’m pretty sure that’s all you need to do but I’m reorganizing my nix confit so there may be a package I forgot about.
I just checked and apparently nm-applet has an enable option.
It ended up breaking proton. I’m on Endeavouros so I’m guessing that’s why it doesn’t work? I don’t know. Tiling window managers are tough.
this helped me thank you!
Weird. I may try to see if I could find a fix as weekend project. I know nixos does stuff pretty differently, so it may only be a nixos fix.