nakato / nixos-sbc

Nix Flake to make managing Single Board Computers easy and repeatable.
MIT License
26 stars 7 forks source link

BPiR4: disable systemd TPM2 support #29

Closed Scrumplex closed 1 week ago

Scrumplex commented 1 week ago

NixOS enables this option if systemd is built with TPM2 support, but the BPiR4 kernel does not support it it seems.

Related https://github.com/NixOS/nixpkgs/issues/344963

nakato commented 1 week ago

This has been merged as 5d1c3a8

I updated the commit message and comment to better document why this is needed.


It's not that the vendor kernel doesn't support it, it's that I don't enable useless kernel modules as I lack the compute resources to support gigantic all-module-config kernel builds. There's no TPM on this, or most, SBCs so it doesn't make the cut to include. Though, if you do find there's a kernel module you need that is not included, feel free to open a PR or an Issue about it and what it is needed for and it can probably be added.