Skip to content

Commit

Permalink
Add domain to hot
Browse files Browse the repository at this point in the history
  • Loading branch information
NCrashed committed Jul 6, 2022
1 parent c78657b commit c9b7f71
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nix/hexstody-hot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit c9b7f71

Please sign in to comment.