diff options
author | lassulus <lassulus@lassul.us> | 2021-09-05 22:51:37 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-09-05 23:09:21 +0200 |
commit | b471ff4191011b000f60dd2c6dafc6e5ed9458c2 (patch) | |
tree | d83a70b841bda26335a2771fcf5470a5afce9222 /krebs/3modules/announce-activation.nix | |
parent | aaae1b2f5b6532ae6f5def1678957e2a6dc00c28 (diff) |
irc-announce: add tls flag
Diffstat (limited to 'krebs/3modules/announce-activation.nix')
-rw-r--r-- | krebs/3modules/announce-activation.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/krebs/3modules/announce-activation.nix b/krebs/3modules/announce-activation.nix index 76eb4b136..a40ae8cef 100644 --- a/krebs/3modules/announce-activation.nix +++ b/krebs/3modules/announce-activation.nix @@ -9,6 +9,7 @@ with import <stockholm/lib>; ${shell.escape (toString cfg.irc.port)} \ ${shell.escape cfg.irc.nick} \ ${shell.escape cfg.irc.channel} \ + ${escapeShellArg cfg.irc.tls} \ "$message" ''; default-get-message = pkgs.writeDash "announce-activation-get-message" '' @@ -50,6 +51,10 @@ in { default = "irc.r"; type = types.hostname; }; + tls = mkOption { + default = false; + type = types.bool; + }; }; }; config = mkIf cfg.enable { |