summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/video
diff options
context:
space:
mode:
authormidchildan <git@midchildan.org>2022-08-14 16:25:21 +0900
committermidchildan <git@midchildan.org>2022-08-14 16:25:21 +0900
commit00fe2c7e98b0cb71846566d6375f5baaefbaf80e (patch)
tree3e1b4e7590edd3a5be5f17703a4d909284700cef /nixos/modules/services/video
parentdf1243d8569ae15410e44e87505a03d98c0b1954 (diff)
nixos/epgstation: set NODE_ENV to "production"
Diffstat (limited to 'nixos/modules/services/video')
-rw-r--r--nixos/modules/services/video/epgstation/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/video/epgstation/default.nix b/nixos/modules/services/video/epgstation/default.nix
index ef502de8ea24..d3b05e4554eb 100644
--- a/nixos/modules/services/video/epgstation/default.nix
+++ b/nixos/modules/services/video/epgstation/default.nix
@@ -323,6 +323,8 @@ in
++ lib.optional config.services.mirakurun.enable "mirakurun.service"
++ lib.optional config.services.mysql.enable "mysql.service";
+ environment.NODE_ENV = "production";
+
serviceConfig = {
ExecStart = "${cfg.package}/bin/epgstation start";
ExecStartPre = "+${preStartScript}";