Silvan Mosberger df5ba82f74
lib/modules: Implement module-builtin assertions
This implements assertions/warnings supported by the module system directly,
instead of just being a NixOS option (see
nixos/modules/misc/assertions.nix).

This has the following benefits:
- It allows cleanly redoing the user interface. The new
  implementation specifically allows disabling assertions or
  converting them to warnings instead.
- Assertions/warnings can now be thrown easily from within
  submodules, which previously wasn't possible and needed workarounds.
2020-11-30 23:51:19 +01:00
..
2020-06-18 10:16:57 +02:00
2020-11-19 00:07:14 -05:00
2017-09-16 21:36:43 -04:00
2020-11-15 03:11:05 -05:00
2018-11-22 08:59:48 +00:00
2020-06-04 13:43:10 +02:00
2020-09-12 16:37:50 +02:00
2020-10-26 00:50:06 -07:00
2019-09-26 17:42:42 +02:00