diff options
author | makefu <github@syntax-fehler.de> | 2020-04-21 21:52:12 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-04-21 21:52:12 +0200 |
commit | aaacb5f31c9e87b09f36cfbffcdd8231fb8a4fe8 (patch) | |
tree | 6a358fa5135fd214cc4aa4f43527d60820d4317b /krebs/3modules/hidden-ssh.nix | |
parent | 0b371833e9ef68fd891fac65a657d8e38b5b3fad (diff) | |
parent | 077b2783d19ab0377c1fa8ef6fbfdf5ef7481a7f (diff) |
Merge remote-tracking branch 'lass/20.03' into 20.03
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"; |