Files
nixpkgs/nixos/modules/system/activation/switch-to-configuration.pl
r-vdp e6bc540ce0 nixos/activation: pass the action as an argument to the pre-switch-checks
This allows for instance to reject switching into a configuration, while
still allowing to reboot into that same configuration.

This can be useful for instance to reject switching to a configuration
with a new systemd major version, but setting that same configuration as
the new boot default with `switch-to-configuration boot` is fine.
2025-01-28 11:40:38 +01:00

43 KiB
Executable File