NixOS must prevent the installation of patches, service packs, device drivers, or operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
highV-268154SRG-OS-000366-GPOS-00153ANIX-00-001480SV-268154r1131111_rule2025-08-191
Description
Changes to any software components can have significant effects on the overall security of the operating system. This requirement ensures the software has not been tampered with and that it has been provided by a trusted vendor. Accordingly, patches, service packs, device drivers, or operating system components must be signed with a certificate recognized and approved by the organization. Verifying the authenticity of the software prior to installation validates the integrity of the patch or upgrade received from a vendor. This ensures the software has not been tampered with and that it has been provided by a trusted vendor. Self-signed certificates are disallowed by this requirement. The operating system should not have to verify the software again. This requirement does not mandate DOD certificates for this purpose; however, the certificate used to verify the software must be from an approved certificate authority (CA).
ℹ️ Check
Verify NixOS prevents installations that have not been digitally signed with the following command: $ grep -R require-sigs /etc/nix/nix.conf require-sigs = true If "require-sigs" is not set to "true" or is missing, this is a finding.
✔️ Fix
Configure NixOS to require signatures. Add the following Nix code to the NixOS Configuration, usually located in /etc/nixos/configuration.nix or /etc/nixos/flake.nix: nix.settings.require-sigs = true; Rebuild and switch to the new NixOS configuration: $ sudo nixos-rebuild switch