diff options
author | tv <tv@krebsco.de> | 2019-01-27 18:33:22 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-01-27 18:33:22 +0100 |
commit | 6965a1df8e7fe5e85128349c31057fdc8c8d54f6 (patch) | |
tree | e53d7fe7d419139d200263eec3b47380800eaad4 | |
parent | ab18e5a468980e7b7dd7ae97566675680b1b8c88 (diff) |
reaktor2 service: add useTLS option
-rw-r--r-- | krebs/3modules/reaktor2.nix | 4 |
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; + }; }; })); }; |