nordvpn: init at 5.2.0, maintainers: add different-error #477174
Conversation
cd21c71 to
1e24b72
Compare
|
@ruffsl @andersonjoseph fyi. I would appreciate your manual testing of this PR. Thank you. |
|
I tried this along with the networking service module from #406725 :
- extraPreBuild + (old.preBuild or "");
+ extraPreBuild + (if old ? preBuild then old.preBuild else "");
|
1e24b72 to
4107b25
Compare
Thanks for pointing this out. I think the
I had to do this once before because of the salt removal from previous iterations of this package. New consumers needn't do this. And once again, the module is out of scope of this PR.
I've fixed this now, ty.
If you use the standalone package and call
|
4107b25 to
17b9422
Compare
|
I tested it as well, along with a few of the other features like the kill switch, and they work as expected for me. Would be really cool if this could be merged soon; I've been eagerly waiting for an official NordVPN package integration ever since the first PR. A big thank you to @different-error and all the other folks from Nix! Btw. nordvpn-linux version 4.5.0 has been released, featuring NetworkManager integration. |
536c94b to
d81e7e7
Compare
|
Tested on nordlynx and openvpn. |
|
How to use this package for connecting with nordvpn? |
116265d to
b90acf6
Compare
This snippet points to the nordvpn branch that contains both the package and the module: # flake.nix
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-25.11";
nixpkgs-nordvpn.url = "github:different-error/nixpkgs/nordvpn";
};
outputs = { nixpkgs, nixpkgs-nordvpn, ... }: {
nixosConfigurations.myhost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
"${nixpkgs-nordvpn}/nixos/modules/services/networking/nordvpn.nix"
{
nixpkgs.overlays = [
(final: prev: {
nordvpn = (import nixpkgs-nordvpn {
system = "x86_64-linux";
config.allowUnfree = true;
}).nordvpn;
})
];
}
];
};
};
}
# configuration.nix
{
services.nordvpn.enable = true;
users.users.myuser.extraGroups = [ "nordvpn" ];
documentation.nixos.enable = false;
} |
b90acf6 to
3c756e7
Compare
|
Cli works as expected. I haven't verified GUI yet. Regarding the build error: Applying the fixes specified in the output surprisingly results in not including the nordvpn package in the VM. I'll investigate... |
ef5609c to
b00614a
Compare
b00614a to
201851a
Compare
|
NordVPN 5.0.0 cli and gui verified to work as expected using openvpn and nordlynx protocols. |
201851a to
f3f468f
Compare
c63f18e to
84a8862
Compare
|
NordVPN 5.1.0 |
84a8862 to
5f7c34b
Compare
|
NordVPN 5.2.0 |
|
Upvote this pr on discord pls. |
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.This PR contains just the package found in #406725.
I manually verified vpn connection over OpenVPN and NordLynx using both cli and gui.
configuration.nix
To build,
nixos-rebuild build-vm -I nixos-config=/path/to/configuration.nix -I nixpkgs=/path/to/nixpkgs --max-jobs 4Inside vm:
Note: I use Claude btw.
Add a 👍 reaction to pull requests you find important.