dinky: enable tpm

This commit is contained in:
Daniel Lundin 2025-07-05 13:03:46 +02:00
commit 7427d5e09b
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
2 changed files with 11 additions and 0 deletions
home/common
hosts/dinky

View file

@ -1,6 +1,9 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
age-plugin-fido2-hmac
age-plugin-fido2-hmac
age-plugin-tpm
comma
dogdns
file

View file

@ -67,6 +67,7 @@
environment.systemPackages = with pkgs; [
mullvad-vpn
tpm2-tools
];
services.printing.enable = lib.mkForce false;
@ -90,6 +91,12 @@
services.mullvad-vpn.enable = true;
security.tpm2 = {
enable = true;
pkcs11.enable = true;
tctiEnvironment.enable = true;
};
users.users.dln = {
isNormalUser = true;
description = "Daniel Lundin";
@ -97,6 +104,7 @@
"adbusers"
"lp"
"nitrokey"
"tss"
"wheel"
];
openssh.authorizedKeys.keys = [