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 {
type = lib.types.bool;
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
inherit (lib) mkIf;
inherit (lib) mkIf mkDefault;
enabled = config.device.hasTPM;
enabled = config.myOptions.device.hasTPM;
in {
config = mkIf enabled {
security.tpm2 = {