summaryrefslogtreecommitdiffstats
path: root/2configs/hw/tpm.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-04 14:35:56 +0200
committermakefu <github@syntax-fehler.de>2017-09-04 14:35:56 +0200
commitdc03c7708a57c7300abedae4f4eb1ba74f62e950 (patch)
tree8c875dfb23dd035cbca82445ee334e3fb2eba541 /2configs/hw/tpm.nix
parent085dc5a90f8f6b7ac73ec6046502be531b485e3e (diff)
ma hw: add tpm to x2x0
Diffstat (limited to '2configs/hw/tpm.nix')
-rw-r--r--2configs/hw/tpm.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/2configs/hw/tpm.nix b/2configs/hw/tpm.nix
new file mode 100644
index 000000000..29e19e916
--- /dev/null
+++ b/2configs/hw/tpm.nix
@@ -0,0 +1,6 @@
+{ pkgs, ... }:
+{
+ services.tcsd.enable = true;
+ # see https://wiki.archlinux.org/index.php/Trusted_Platform_Module
+ environment.systemPackages = with pkgs; [ opencryptoki tpm-tools ];
+}