Nix needs an absolute path and the user may have given a relative path for the configuration file. We therefore need to expand it using the `realpath` tool.
home-manager-path
When listing packages we have to handle the case where the rebuild command has not yet been run.