Skip to content

Instantly share code, notes, and snippets.

@zackp30
Created June 13, 2016 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zackp30/f7d895803b68d0c1a32b3a9ebd9c3db8 to your computer and use it in GitHub Desktop.
Save zackp30/f7d895803b68d0c1a32b3a9ebd9c3db8 to your computer and use it in GitHub Desktop.
nixpkgs.config = {
packageOverrides = pkgs: {
stdenv = pkgs.stdenv // {
platform = pkgs.stdenv.platform // {
kernelExtraConfig = ''
AUDIT y
IMA y
IMA_MEASURE_PCR_IDX 10
IMA_LSM_RULES y
INTEGRITY_SIGNATURE y
IMA_APPRAISE y
TCG_TPM y
KEYS y
TRUSTED_KEYS y
ENCRYPTED_KEYS y
INTEGRITY_SIGNATURE y
INTEGRITY y
INTEGRITY_AUDIT y
EVM y
IMA_NG_TEMPLATE y
IMA_DEFAULT_TEMPLATE "ima-ng"
IMA_DEFAULT_HASH_SHA256 y
'' ;
};
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment