diff options
author | makefu <github@syntax-fehler.de> | 2020-04-21 21:50:59 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-21 21:50:59 +0200 |
commit | c96504d9a0f8f9f5c80c9630906c177ff3667e55 (patch) | |
tree | 7b763ca595967bfcc5d8307751091f373fd38e47 /krebs/3modules/hidden-ssh.nix | |
parent | 4fc2235ab0a8a11ea21965c86e5ba17279384db4 (diff) | |
parent | cabaf519b5970cbe5c1e57832d3bd12da4f47371 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'krebs/3modules/hidden-ssh.nix')
-rw-r--r-- | krebs/3modules/hidden-ssh.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/krebs/3modules/hidden-ssh.nix b/krebs/3modules/hidden-ssh.nix index 2d697e497..f497de451 100644 --- a/krebs/3modules/hidden-ssh.nix +++ b/krebs/3modules/hidden-ssh.nix @@ -19,6 +19,10 @@ let type = types.str; default = "irc.freenode.org"; }; + message = mkOption { + type = types.str; + default = "SSH Hidden Service at "; + }; }; imp = let @@ -50,7 +54,7 @@ let ${pkgs.irc-announce}/bin/irc-announce \ ${cfg.server} 6667 ${config.krebs.build.host.name}-ssh \ \${cfg.channel} \ - "SSH Hidden Service at $(cat ${hiddenServiceDir}/hostname)" + "${cfg.message}$(cat ${hiddenServiceDir}/hostname)" ''; PrivateTmp = "true"; User = "tor"; |