diff options
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/pam.nix | 2 | ||||
-rw-r--r-- | nixos/modules/security/prey.nix | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 474b93b4984d..88760574cbc6 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -419,7 +419,7 @@ in users.motd = mkOption { default = null; example = "Today is Sweetmorn, the 4th day of The Aftermath in the YOLD 3178."; - type = types.nullOr types.string; + type = types.nullOr types.lines; description = "Message of the day shown to users when they log in."; }; diff --git a/nixos/modules/security/prey.nix b/nixos/modules/security/prey.nix index d7d438103a2c..1c643f2e1a57 100644 --- a/nixos/modules/security/prey.nix +++ b/nixos/modules/security/prey.nix @@ -24,7 +24,7 @@ in { }; deviceKey = mkOption { - type = types.string; + type = types.str; description = '' <literal>Device key</literal> obtained by visiting <link xlink:href="https://panel.preyproject.com/devices" /> @@ -33,7 +33,7 @@ in { }; apiKey = mkOption { - type = types.string; + type = types.str; description = '' <literal>API key</literal> obtained from <link xlink:href="https://panel.preyproject.com/profile" />. |