1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/nixos
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
..
doc Merge pull request #137082 from bobby285271/markdown 2021-09-12 04:51:20 +01:00
lib nixos/make-zfs-image: init 2021-08-25 10:42:35 -04:00
maintainers amazon images: extend the image-info.json to have a disks object 2021-08-25 10:42:35 -04:00
modules nixos/security/wrappers: make well-typed 2021-09-12 21:43:03 +02:00
tests Merge pull request #137088 from bricewge/master 2021-09-08 20:15:52 +02:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix NixOS/amazonImageZfs: init 2021-08-25 10:42:35 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.