Make system.autoUpgrade Update All Channels

Is there a way to make system.autoUpgrade and nixos-rebuild --upgrade update all subscribed channels rather than just the default? I have a module from the nixos-hardware channel which includes my kernel.

Use --upgrade-all, as mentioned in the manpage, and add that flag to system.autoUpgrade.flags.

2 Likes

Thank you, I can’t believe I missed that