summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-04-17 04:13:32 +0200
committertv <tv@krebsco.de>2016-04-17 04:13:32 +0200
commitaffb69250d13f64d2be14327c1b47d23cadcb987 (patch)
tree3b231b6c57919649800822d246209d8642c85c6e /krebs/3modules/default.nix
parent453384b60b628f97074c74940e88570aa8eab811 (diff)
krebs.backup network-ssh-port: fail if cannot find port
Diffstat (limited to 'krebs/3modules/default.nix')
-rw-r--r--krebs/3modules/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/3modules/default.nix b/krebs/3modules/default.nix
index be530d46f..10c61b63a 100644
--- a/krebs/3modules/default.nix
+++ b/krebs/3modules/default.nix
@@ -218,7 +218,7 @@ let
(filter (hasSuffix ".${cfg.search-domain}")
longs);
add-port = a:
- if net.ssh.port != null
+ if net.ssh.port != 22
then "[${a}]:${toString net.ssh.port}"
else a;
in