Skip to content

🔑 darkone.security.packages

Package management and updates (R58–R61). (wip)

Covers installing only what is strictly necessary (R58), trusted repositories (R59), hardened repositories (R60: linux_hardened), and regular updates (R61).

  • enable bool Enable ANSSI package management (R58–R61).
  • trustedSubstituters listOf str Allowlist of authorized Nix binary caches (R59).
  • trustedPublicKeys listOf str Public keys for authorized binary caches (R59).
  • allowedUris listOf str Prefix allowlist of URIs fetchable during evaluation (R59). Restricts builtins.fetch* / flake inputs to internal mirrors. Empty list disables the restriction.
  • maxSystemPackages nullOr int Soft threshold on the number of system packages (R58). Emits an evaluation warning when exceeded; null disables the check.
darkone.security.packages = {
enable = false;
trustedSubstituters = [ ];
trustedPublicKeys = [ ];
allowedUris = [ ];
maxSystemPackages = 200;
};

Source: modules/security/packages.nix 🡕