summaryrefslogtreecommitdiff
path: root/modules/desktop/software/tpm.nix
blob: b84551edfc79e96fddc1f2fcde2ccbdc3629bded (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, ... }:
{
  security.tpm2 = {
    enable = true;
    applyUdevRules = true;
    abrmd.enable = true;
    tctiEnvironment.enable = true;
    pkcs11.enable = true;
  };

  environment.systemPackages = with pkgs; [
    tpm2-tools
    tpm2-tss
    tpm2-abrmd
  ];

  boot.kernelModules = [ "uhid" ];
}