Help to installing a VPN

hello guys. hope u doing good. im a new nix user… i want to install this vpn:

how can i install it here?(can i install it with git clone and some other commands?how if yes?) i tried to installing here from (file configuration) but i got 403 instead. TSM for reading

Hello
If you want to install a program first search for it on the nixpkgs search:
https://search.nixos.org/packages?channel=unstable&show=hiddify-app&from=0&size=50&sort=relevance&type=packages&query=hiddify
The package is called hiddify-app. Just put this in your enviroment.systempackages.

Hi, like i said. Im facing with 403 error.

can you post the error you are getting


here it is

Most likely does a firewall in your network block that request. Have you enabled a vpn?

it is bcz of my country… so i need a vpn almost for everything
and i dont have a vpn… then i decided to installing hiddify for but im faced with this. so i came here and asking for someone for helping me to install hiddify from its github source

Well it’s an unfree app, which means hydra won’t build it for you, so you’d have to be able to download the relevant files from pub.dev yourself. I suggest not using any unfree flutter/dart app, since those apps will often come from pub.dev.

If you can find a distribution tarball somewhere else (maybe via a proxy specific to your country) you can add it to your store manually with nix-store --add.

Alternatively you could try to configure the underlying non-gui service, sing-box.

That said, hiddify appears to be GPLv3 (“extended”, which is weird, since it depends on a normal GPLv3 library, so that sounds like a license violation, but oh well). Why isn’t this cached?

Because they modified the GPL license (which is in itself a copyright violation) here: hiddify-app/LICENSE.md at 0f6b15057f626016fcd7a0c075f1c8c2f606110a · hiddify/hiddify-app · GitHub

So it’s an unfree app.

Sure, but you can violate the GPL while still remaining free software. IANAL and I’m not sure the license they’ve written qualifies as “free” - nixpkgs doesn’t have what it needs to correctly define this license anyway.

nixpkgs has it (incorrectly) listed as CC-BY-NC-SA. I guess that license happens to also meet the definition of unfree? It looks very much like a CC encoding of the GPL.

Edit: Ah, it’s the NC clause, isn’t it?

Some discussion regarding the licensing situation hiddify-app: incorrect license · Issue #369727 · NixOS/nixpkgs · GitHub.

It’s been pointed out that most of the additional clauses can be stripped at will (as per GPLv3) hiddify-app: incorrect license · Issue #369727 · NixOS/nixpkgs · GitHub.

1 Like

It’s corrected on unstable, the fix just wasn’t backported.

1 Like