Hello all,
I am just starting out in NixOs, and I am trying to set up prowlarr + flaresolverr. Flaresolverr is currently broken, and in the github issue a NUR repo is linked that has apparently fixed it. However, I cannot seem to get it to work. I have added it to my flake.nix as follows:
I want to use this in a module /etc/nixos/mods/vpncontainer.nix that is used in my /etc/nixos/configuration.nix
Can anyone point me in the right direction?
thanks for the fast reply!
sadly nixos thinks otherwise:
error: attribute 'nur' missing
at /nix/store/y98bigzpblkpmkf2p3h3y7307fn2xwzp-source/mods/vpncontainer.nix:52:19:
51| enable = true;
52| package = pkgs.nur.repos.xddxdd.flaresolverr-21hsmw;
| ^
53| openFirewall = true;
Did you mean one of nrr, nurl, nut, nuv or nux?
Try dropping the pkgs in front of nur? As far as I can tell your passing nur as an input to configuration.nix side by side with pkgs, not nested under pkgs.
Or you might need to refer to inputs explicitly: inputs.nur.repos...
( I’m fairly new to nix, so take this with a grain of salt)
Value:
[
<function>
]
Default:
[ ]
Type:
list of (nixpkgs overlay)
Description:
List of overlays to apply to Nixpkgs.
This option allows modifying the Nixpkgs package set accessed through the `pkgs` module argument.
For details, see the [Overlays chapter in the Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-overlays).
If the {option}`nixpkgs.pkgs` option is set, overlays specified using `nixpkgs.overlays` will be applied after the overlays that were already included in `nixpkgs.pkgs`.
Example:
{
_type = "literalExpression";
text = ''
[
(self: super: {
openssh = super.openssh.override {
hpnSupport = true;
kerberos = self.libkrb5;
};
})
]
'';
}
Declared by:
/nix/store/4m21g6b3bq78vn5skaxjmqwg7fnir87j...