An audit of every NixOS module in nixpkgs that handles a real secret, classified by where the secret value ends up. The question behind it: does the secret get mixed into a configuration file, or kept separate?
- Source:
NixOS/nixpkgsat commit141f212(2026-07-20) - Scope:
nixos/modules, 2,436 module files - Modules that handle a real secret: 445
- Method: pattern scan for secret-bearing options, then per-file reading to trace each secret from its option to its final destination. False positives (boolean toggles, hashes safe to store) were removed.