the.bay.news

Way to fail rebuild when home-manager activation fails?

NixOS Discourse
Way to fail rebuild when home-manager activation fails?
I have home-manager set as a NixOS module, this means running nixos-rebuild switch --sudo additionally activates home-manager services for each user The issue being: When home-manager activation fails, the switch still happens ! Is there a way to make it so a failing activation also stops the switch ? Confirmed by running nixos-rebuild switch --sudo, having HM fail, and then havind a new line in nixos-rebuild list-generation, plus this is also hinted at by: warning: the following units faile...

I have home-manager set as a NixOS module, this means running nixos-rebuild switch --sudo additionally activates home-manager services for each user The issue being: When…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.