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 = {