summaryrefslogtreecommitdiff
path: root/Hero/Service.nix
diff options
context:
space:
mode:
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"