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