NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.06k stars 14.1k forks source link

expressvpn needs re-activation after reboot #332003

Open leon-thomm opened 3 months ago

leon-thomm commented 3 months ago

Describe the bug

expressvpn needs to be activated with an activation code using the expressvpn activate command. While I remember on Debian systems I only need to do this once, on NixOS it seems I need to do this after every reboot, which gets annoying.

Steps To Reproduce

Steps to reproduce the behavior:

  1. have an ExpressVPN subscription
  2. on NixOS set config.services.expressvpn.enable = true; and add expressvpn to your user packages
  3. expressvpn connect Germany (observe failure)
  4. expressvpn activate
  5. expressvpn connect Germany (observe success)
  6. reboot
  7. expressvpn connect Germany (observe failure)

Expected behavior

It should cache the activation key.

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.37, NixOS, 24.05 (Uakari), 24.05.2662.249fbde2a178`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixos-24.05, nixos-hardware, nixpkgs-24.05"`
 - nixpkgs: `/home/leon/.nix-defexpr/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Shawn8901 commented 3 months ago

fyi @yureien as listed maintainer on the module and the package.