configuration.nix option nixpkgs.config is what ~/.nixpkgs/config.nix is for the user in case you missed it. Thus: nixpkgs.config.allowUnfree = true; nixpkgs.config.packageOverrides = p: .. You don't have to use config.nix if this is all you need. Marc Weber