Is there a way to pin the nixpkgs used in a nixops deployment within the configuration file? (not using -I nixpkgs=<uri>)?
An issue that I have been having is that my nixops deployments depend on the NIX_PATH on the local machine I am deploying from and it often does not match the nixpkgs on the hosts that nixops deploys to. I know how to pin the nixpkgs on the nixops hosts using nix - Propagate nixpkgs checkout to NixOps machines - Stack Overflow.
Note the NIX_PATH includes the current directory, that’s necessary if you want to use <mySystem.nix> like a lot of nixops command line examples do. The shell also ensures everyone is using the same version of nixops.