tpm2-totp: add plymouth integration support

This commit is contained in:
Majiir Paktu
2025-07-13 11:31:29 -04:00
parent 1384f8a055
commit beef19b83e
2 changed files with 8 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
autoconf-archive, autoconf-archive,
pandoc, pandoc,
pkg-config, pkg-config,
withPlymouth ? false,
plymouth,
qrencode, qrencode,
}: }:
@@ -35,7 +37,8 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
tpm2-tss tpm2-tss
qrencode qrencode
]; ]
++ lib.optional withPlymouth plymouth;
meta = with lib; { meta = with lib; {
description = "Attest the trustworthiness of a device against a human using time-based one-time passwords"; description = "Attest the trustworthiness of a device against a human using time-based one-time passwords";

View File

@@ -4275,6 +4275,10 @@ with pkgs;
} }
); );
tpm2-totp-with-plymouth = tpm2-totp.override {
withPlymouth = true;
};
trackma-curses = trackma.override { withCurses = true; }; trackma-curses = trackma.override { withCurses = true; };
trackma-gtk = trackma.override { withGTK = true; }; trackma-gtk = trackma.override { withGTK = true; };