'outputs' attribute missing error when rebuilding system

I am trying to refactor my current configuration into a format that has been recommended to me previously. This configuration template does things very differently then how I was doing them.

I create a temporary repository to migrate my settings into, but I am stuck on the initial set up of the flake. After updating the configuration.nix to match my vm’s information, and setting home-manager up as a nixos module I get this error when try to build the system.

It seems as if you are passing self around as outputs via specialArgs for the nixos config. Though use it in a HM module.

If you want to use them there as well you need to pass them around for HM as well via the home-manager.extraSpecialArgs system level option.

1 Like