1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-09-17 14:57:22 +03:00

Modprobe tpm modules

This commit is contained in:
0xc0d91c 2024-03-18 01:52:23 +08:00 committed by GitHub
parent bc5864d6ea
commit 47bcc9acff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,15 +3,17 @@
{
mobile.boot.stage-1 = {
kernel.modular = true;
kernel.modules = [
"tpm_tis_core"
"tpm_tis_spi"
"tpm_tis_i2c_cr50"
];
kernel.additionalModules = [
# Breaks udev if builtin or loaded before udev runs.
# Using `additionalModules` means udev will load them as needed.
"sbs-battery"
"sbs-charger"
"sbs-manager"
"tpm_tis_core"
"tpm_tis_spi"
"sbs-manager"
];
};
@ -28,7 +30,7 @@
TCG_TIS_CORE = module;
TCG_TIS_SPI = module;
TCG_TIS_SPI_CR50 = yes;
TCG_TIS_I2C_CR50 = yes;
TCG_TIS_I2C_CR50 = module;
})
];
}