Fix typos

This commit is contained in:
ItsDrike 2024-04-12 23:29:29 +02:00
parent a2342f6660
commit edd9c63596
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ in
hasTPM = mkOption { hasTPM = mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
description = "Does this device have a TPM (Trusted Platform Module)?" description = "Does this device have a TPM (Trusted Platform Module)?";
} };
}; };
} }

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: let { config, lib, pkgs, ... }: let
inherit (lib) mkIf; inherit (lib) mkIf mkDefault;
enabled = config.device.hasTPM; enabled = config.myOptions.device.hasTPM;
in { in {
config = mkIf enabled { config = mkIf enabled {
security.tpm2 = { security.tpm2 = {