mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 18:24:34 +00:00
Fix typos
This commit is contained in:
parent
a2342f6660
commit
edd9c63596
|
@ -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)?";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue