Question Regarding configuration.nix

It needs to be pkg.pname instead of pkg.name. At least, on nixos-19.09.
Following the issue Wrong documentation for non-free packages · Issue #67830 · NixOS/nixpkgs · GitHub.

1 Like