1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/nixos/modules
rnhmjoj 904f68fb0f
nixos/security/wrappers: make well-typed
The security.wrappers option is morally a set of submodules but it's
actually (un)typed as a generic attribute set. This is bad for several
reasons:

1. Some of the "submodule" option are not document;
2. the default values are not documented and are chosen based on
   somewhat bizarre rules (issue #23217);
3. It's not possible to override an existing wrapper due to the
   dumb types.attrs.merge strategy;
4. It's easy to make mistakes that will go unnoticed, which is
   really bad given the sensitivity of this module (issue #47839).

This makes the option a proper set of submodule and add strict types and
descriptions to every sub-option. Considering it's not yet clear if the
way the default values are picked is intended, this reproduces the current
behavior, but it's now documented explicitly.
2021-09-12 21:43:03 +02:00
..
config nixos/users-groups: Add dry mode 2021-09-07 10:30:42 +02:00
hardware nixos/nvidia: remove extra space 2021-09-01 08:57:33 -04:00
i18n/input-method nixos/fcitx5: autostart with xserver 2021-06-05 09:22:58 +08:00
installer lib/modules: add mkImageMediaOverride 2021-08-03 18:28:14 -05:00
misc nixos/documentation: expose manualPages 2021-09-07 11:13:32 +02:00
profiles NixOS AWS AMI: enable the serial console on ttyS0 2021-08-20 12:42:02 -04:00
programs nixos/git: init 2021-09-10 18:50:04 -04:00
security nixos/security/wrappers: make well-typed 2021-09-12 21:43:03 +02:00
services Merge pull request #137444 from SuperSandro2000/wicd 2021-09-12 12:56:10 +02:00
system nixos/top-level: Check activation script syntax 2021-09-08 20:08:44 +02:00
tasks Merge pull request #132786 from helsinki-systems/feat/initrd-dm-cache 2021-09-08 18:19:41 +02:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation NixOS/amazonImageZfs: init 2021-08-25 10:42:35 -04:00
module-list.nix Merge pull request #137444 from SuperSandro2000/wicd 2021-09-12 12:56:10 +02:00
rename.nix treewide: yank wicd as it is abandoned 2021-09-11 23:46:52 +02:00