From 387ff505b504d300caee288d2576ddbaee4154e7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 2 Dec 2024 08:24:39 +0100 Subject: [PATCH] common: enable tpm by default --- hosts/common/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/common/default.nix b/hosts/common/default.nix index f78c2cd..f927bab 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -187,6 +187,8 @@ in { security.rtkit.enable = !config.machineVars.headless; + security.tpm2.enable = lib.mkDefault true; + security.tpm2.abrmd.enable = lib.mkDefault config.security.tpm2.enable; security.sudo.extraConfig = let sudoLecture = pkgs.writeText "sudo-lecture.txt" (extendedLib.termColors.front.red "Be careful or something, idk...\n"); in ''