summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-01-27 18:33:22 +0100
committertv <tv@krebsco.de>2019-01-27 18:33:22 +0100
commit6965a1df8e7fe5e85128349c31057fdc8c8d54f6 (patch)
treee53d7fe7d419139d200263eec3b47380800eaad4 /krebs
parentab18e5a468980e7b7dd7ae97566675680b1b8c88 (diff)
reaktor2 service: add useTLS option
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/reaktor2.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/krebs/3modules/reaktor2.nix b/krebs/3modules/reaktor2.nix
index b667bcc92..3dd86503f 100644
--- a/krebs/3modules/reaktor2.nix
+++ b/krebs/3modules/reaktor2.nix
@@ -33,6 +33,10 @@ with import <stockholm/lib>;
default = "reaktor2${optionalString (name != "default") "-${name}"}";
type = types.filename;
};
+ useTLS = mkOption {
+ default = self.config.port == "6697";
+ type = types.bool;
+ };
};
}));
};