feat(host/orion): improve tpm2 support

This commit is contained in:
Price Hiller 2024-07-24 22:16:17 -05:00
parent 304f6f2691
commit 5625f60877
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -3,6 +3,9 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
security.tpm2.enable = true;
environment.systemPackages = with pkgs; [ tpm2-tss ];
boot = { boot = {
loader = { loader = {
systemd-boot.enable = true; systemd-boot.enable = true;
@ -23,6 +26,7 @@
]; ];
systemd = { systemd = {
enable = true; enable = true;
enableTpm2 = true;
initrdBin = [ initrdBin = [
pkgs.libuuid pkgs.libuuid
pkgs.gawk pkgs.gawk