Skip to content

nordvpn: init at 4.2.0 (package only)#439308

Closed
different-error wants to merge 2 commits intoNixOS:masterfrom
different-error:nordvpn-pkg
Closed

nordvpn: init at 4.2.0 (package only)#439308
different-error wants to merge 2 commits intoNixOS:masterfrom
different-error:nordvpn-pkg

Conversation

@different-error
Copy link

@different-error different-error commented Sep 1, 2025

Things done

Sample VM configuration.nix

{
  pkgs,
  lib,
  ...
}:

{
  imports = [
    ./hardware-configuration.nix
  ];

  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;
  networking.firewall.enable = true;
  networking.firewall.checkReversePath = "loose";

  services.xserver.enable = true;
  services.displayManager.gdm.enable = true;
  services.desktopManager.plasma6.enable = true;

  virtualisation.vmVariant = {
    virtualisation = {
      memorySize = 8192;
      cores = 3;
    };
  };
  users.groups.alice = { };
  users.groups.nordvpn = { };
  users.users.alice = {
    isSystemUser = true;
    password = "alice";
    group = "alice";
    extraGroups = [
      "wheel"
      "nordvpn"
    ];
    shell = pkgs.bash;
    home = "/home/alice";
    createHome = true;
    packages = with pkgs; [
      tree
      tmux
      dunst
      libnotify
      socat
      vim
      nordvpn
    ];
  };
  system.stateVersion = "24.11"; # Did you read the comment?
}
sudo nordvpnd
sudo chown alice:nordvpn /run/nordvpn/nordvpnd.sock
nordvpn c

This PR adds the package found in #406725 (the first two commits). Verified successful connection using openvpn and nordlynx technologies. Does not support meshnet.


Add a 👍 reaction to pull requests you find important.

@different-error different-error changed the title Nordvpn pkg nordvpn: init at 4.0.0 (package only) Sep 1, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle! 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` labels Sep 1, 2025
@different-error different-error marked this pull request as ready for review September 1, 2025 20:22
@different-error
Copy link
Author

@philiptaron @ruffsl fyi

@nixpkgs-ci nixpkgs-ci bot added the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 1, 2025
@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Sep 1, 2025
@different-error different-error force-pushed the nordvpn-pkg branch 2 times, most recently from f147d3c to 27bd7db Compare September 2, 2025 06:51
@dotlambda dotlambda dismissed their stale review September 2, 2025 22:04

I don't know Go well enough.

Copy link
Contributor

@ruffsl ruffsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm this package is still working as expected with accompanying module from:

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 3, 2025
@different-error
Copy link
Author

Changes:

  • rebase onto latest master

@different-error different-error mentioned this pull request Sep 7, 2025
13 tasks
@different-error different-error mentioned this pull request Sep 7, 2025
3 tasks
@different-error different-error force-pushed the nordvpn-pkg branch 2 times, most recently from 710f9ce to 2ada19d Compare September 7, 2025 20:34
@philiptaron
Copy link
Contributor

Hey @different-error, I'm going to amplify @dotlambda's feedback: it's quite rude to resolve feedback threads before the feedback has been acted on. Much of the feedback in this PR has been "we can't check this in as-is; consider trying to do it another way" with different mechanisms. What it looks like from the various threads here is that you ran into issues with the suggestions then returned to what was initially proposed. I want to highlight that the most important part of the feedback was that what's currently proposed cannot be checked in. The suggestion is a helpful hint at something that might work. It's not the core of the feedback.

@winterqt

This comment was marked as resolved.

@wolfgangwalther

This comment was marked as resolved.

@winterqt

This comment was marked as resolved.

@winterqt

This comment was marked as resolved.

@wolfgangwalther

This comment was marked as resolved.

@different-error
Copy link
Author

Hey @different-error, I'm going to amplify @dotlambda's feedback: it's quite rude to resolve feedback threads before the feedback has been acted on. Much of the feedback in this PR has been "we can't check this in as-is; consider trying to do it another way" with different mechanisms. What it looks like from the various threads here is that you ran into issues with the suggestions then returned to what was initially proposed. I want to highlight that the most important part of the feedback was that what's currently proposed cannot be checked in. The suggestion is a helpful hint at something that might work. It's not the core of the feedback.

Thank you for your insight.

To clarify, I believe your conclusion arose from the discussions in use patches and use overrideAttrs directly.

With regards to the former, I didn't give up here, instead I concluded that the reviewer (who had earlier claimed a lack of knowledge of Go and therefore Go derivatives) misunderstood something. I also found it annoying that the reviewer unresolved the thread without any comment (I initially couldn't distinguish the behavior from a UI bug).

With regards to the latter, I suggested using the existing change because it appeared that the OpenVPN package didn't behave as expected. I could rewrite the OpenVPN derivative locally, but that seemed overkill. To my surprise, the reviewer misinterpreted my suggestion as merging a broken PR (every commit so far in the PR builds and works as expected). Moreover, I did not conclude on my suggestion, I instead wished for guidance from someone more knowledgeable than me in this domain.

I do not intend to insult anyone here and I have gratitude towards everyone's contribution. I'd like to get this package merged for the end users, some of whom have waited since 2020 for it. Time to try again.

@different-error
Copy link
Author

changes:

  • rebase on latest master
  • use overrideAttrs directly to avoid 200mb at nixpkgs eval
  • add example usage to long description
  • correct add maintainer commit message

verified that both openvpn and nordlynx technologies work as expected.

Copy link
Contributor

@ruffsl ruffsl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retested latest changes locally. Package still building and running as expected!

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. and removed 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Oct 17, 2025
@different-error different-error changed the title nordvpn: init at 4.0.0 (package only) nordvpn: init at 4.2.0 (package only) Oct 17, 2025
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-already-reviewed/2617/2601

@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Dec 19, 2025
@different-error
Copy link
Author

closing as subsumed by #477174. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge conflict This PR has merge conflicts with the target branch 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants