wgnord
NordVPN is not available to install yet on NixOS. Though, there are a few ways to use it on NixOS. Here is one relatively easy by using wgnord.
Install
Packages to install/include in the nix config:
- openresolv
- wireguard-tools
- wgnord
Discussion & tips from: https://github.com/NixOS/nixpkgs/issues/101864#issuecomment-1859214194
1
2
3
4
5
6
| sudo mkdir /etc/wireguard # create if it doesn't exist
sudo mkdir -p /var/lib/wgnord # create if it doesn't exist
sudo nano /var/lib/wgnord/template.conf # copy content from https://raw.githubusercontent.com/phirecc/wgnord/master/template.conf
sudo wgnord l "keyxxx" # create a token in the NordVPN dashboard
sudo wgnord c Germany # connect to a server, e.g Germany
sudo wgnord d # disconnect
|
Cover photo by Pawel Czerwinski on Unsplash