summaryrefslogtreecommitdiff
path: root/Hero/Service.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-07-19 21:21:03 -0700
committerBen Sima <ben@bsima.me>2020-07-19 21:21:03 -0700
commitddc9b826bdc568004451fb14b458476e4c7e5061 (patch)
tree3f3808a2c916c8070ad38e2754f95d721b7b526d /Hero/Service.nix
parent17a2f2364326d0eb527631353942fccecd7e2a7f (diff)
hero: rename stuff to new structure
Working toward https://github.com/bsima/biz/issues/5
Diffstat (limited to 'Hero/Service.nix')
-rw-r--r--Hero/Service.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/Hero/Service.nix b/Hero/Service.nix
index 89c6907..5885d1c 100644
--- a/Hero/Service.nix
+++ b/Hero/Service.nix
@@ -23,11 +23,11 @@ in
default = "/var/lib/hero";
description = "herocomics-server database directory";
};
- deck = lib.mkOption {
+ host = lib.mkOption {
type = lib.types.package;
description = "herocomics-server package to use";
};
- beam = lib.mkOption {
+ node = lib.mkOption {
type = lib.types.package;
description = "herocomics-client package to use";
};
@@ -58,7 +58,7 @@ in
serviceConfig = {
KillSignal = "INT";
Environment = [
- "HERO_BEAM=${cfg.beam}/static"
+ "HERO_NODE=${cfg.node}/static"
"HERO_PORT=${toString cfg.port}"
"HERO_KEEP=${cfg.keep}"
"HERO_SKEY=/run/hero/skey"