From 00fe2c7e98b0cb71846566d6375f5baaefbaf80e Mon Sep 17 00:00:00 2001 From: midchildan Date: Sun, 14 Aug 2022 16:25:21 +0900 Subject: nixos/epgstation: set NODE_ENV to "production" --- nixos/modules/services/video/epgstation/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nixos/modules/services/video') 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}"; -- cgit 1.4.1