Skip to content

Commit

Permalink
nixos-module: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Sep 10, 2024
1 parent bb7bdd7 commit f9e9a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ in
];

warnings =
optional (cfg.webhook.secret != "")
optional (cfg.webhook.secret != null && cfg.webhook.secret != "")
"config.services.gobot.webhook.secret will be stored as plaintext in the Nix store. Use webhook.secretFile instead.";

services.mysql = lib.mkIf cfg.database.createLocally {
Expand Down

0 comments on commit f9e9a6f

Please sign in to comment.