3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc
Silvan Mosberger 767d80099c
lib/modules: Introduce _module.checks.*.check
Previously the .enable option was used to encode the condition as well,
which lead to some oddness:
- In order to encode an assertion, one had to invert it
- To disable a check, one had to mkForce it

By introducing a separate .check option this is solved because:
- It can be used to encode assertions
- Disabling is done separately with .enable option, whose default can be
  overridden without a mkForce
2020-12-17 21:52:24 +01:00
..
assertions.nix lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
crashdump.nix nixos/modules/misc/crashdump: remove idle=poll (fix #66464) 2019-08-13 16:08:22 -07:00
documentation.nix nixos-help: bundle the desktop item with the script 2020-11-05 11:56:31 +01:00
extra-arguments.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
ids.nix nixos/openldap: switch to slapd.d configuration 2020-11-21 15:39:19 +00:00
label.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
lib.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
locate.nix Merge pull request #79239 from andersk/mlocate-warning 2020-08-25 16:58:02 -03:00
meta.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
nixops-autoluks.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
nixpkgs.nix nixos/nixpkgs.nix: Correct crossSystem default literal 2020-08-26 13:35:35 +02:00
passthru.nix [bot] nixos/*: remove unused arguments in lambdas 2018-07-20 20:56:59 +00:00
version.nix Update link in /etc/os-release (#85723) 2020-04-22 00:16:22 +02:00