3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config nixos/zram: add zramSwap.memoryMax option 2020-11-25 13:43:38 +00:00
hardware nixos/acpilight: add to packages 2020-11-12 05:22:18 +03:00
i18n/input-method hime: fix enable hime, remove hime-all package 2020-10-17 10:48:31 +08:00
installer utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
misc lib/modules: Introduce _module.checks.*.check 2020-12-17 21:52:24 +01:00
profiles nixos/hardened: update blacklisted filesystems 2020-09-27 06:16:58 +00:00
programs Merge pull request #86225 from sorki/proxychains 2020-11-28 19:45:32 +01:00
security Merge pull request #103866 from cole-h/doas 2020-11-30 19:02:55 +01:00
services Merge pull request #104781 from NixOS/staging-next 2020-11-30 18:27:29 +01:00
system nixos/assertions: Use module-builtin assertion implementation 2020-11-30 23:51:22 +01:00
tasks nixos auto-upgrade: remove flag when flake 2020-11-25 08:34:04 +01:00
testing nixos/tests: only apply qemu parameters if the options are defined 2020-10-25 13:42:01 +01:00
virtualisation Merge master into staging-next 2020-11-27 15:09:19 +01:00
module-list.nix Merge pull request #86225 from sorki/proxychains 2020-11-28 19:45:32 +01:00
rename.nix Merge pull request #91256 from prusnak/seeks 2020-09-18 16:32:33 +02:00