From c9b7f714d31ffdcc627b7e9da810a25fbe1f3b96 Mon Sep 17 00:00:00 2001 From: Anton Gushcha Date: Wed, 6 Jul 2022 13:13:24 +0200 Subject: [PATCH] Add domain to hot --- nix/hexstody-hot.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/hexstody-hot.nix b/nix/hexstody-hot.nix index 4180130..b58aa47 100644 --- a/nix/hexstody-hot.nix +++ b/nix/hexstody-hot.nix @@ -42,6 +42,12 @@ in { Public keys of operators ''; }; + operatorDomain = mkOption { + type = types.str; + description = '' + Domain with http or https prefix, example https://operator.host.me + ''; + }; btcModule = mkOption { type = types.str; @@ -134,6 +140,7 @@ in { --public-api-static-path ${cfg.package}/share/public/static \ --operator-api-template-path ${cfg.package}/share/operator/templates \ --public-api-template-path ${cfg.package}/share/public/templates \ + --operator-api-domain ${cfg.operatorDomain} \ serve ''; serviceConfig = {