I’m trying to install an unfree package from a remote flake repository, this is my flake configuration However, when I’m trying to install a unfree package from a flake input, it show the error in the picture. I’ve add nixpkgs.config.allowUnfree in my configuration.nix and I can:
install unfree package from envrionment.systemPackages.,
install unfree package with home.packages = [ pkgs.someunfreepackage ].,
install unfree package from flake input if I download the package.nix manually and use home.packages = [ (pkgs.callPackage ./pacakge {}) ],
I can not install a package like this home.packages = [ inputs.someguy.packages.${pkgs.system}.someunfreepackage ] Your time and help is greatly appreciated.
Ask upstream if they can provide an overlay which you can use in your config, which will use your nixpkgs instance that’s configured to allow unfree packages. In the meantime, you could use something like