Hi! Recently installed nixos on a system tracking 21.11
. I’m having issues installing unfree packages, Minecraft specifically:
[xxx@xxx:~/projects/twl-nix]$ nix-env -i minecraft
error: selector 'minecraft' matches no derivations
I have:
-
allowUnfree
enabled at the user level:[xxx@xxx:~/projects/twl-nix]$ cat ~/.config/nixpkgs/config.nix { allowUnfree = true; }
-
allowUnfree
enabled at the system level:[xxx@xxx:~/projects/twl-nix]$ sudo nixos-option nixpkgs.config Value: { allowUnfree = true; } Default: { }
Ive also tried installing at the system level (sudo).
Any ideas what I’m doing wrong? I’ve tried the usual troubleshooting steps (updating the channel nixos-rebuild, etc)
Thanks!