summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/mastodon.nix
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2021-02-16 10:09:14 +0300
committererictapen <justin.humm@posteo.de>2021-02-16 17:57:31 +0100
commit96f0c2c191c50aae55715c0e7cbc93510354fcf4 (patch)
treed2b67b182906f31859b77513661fe1b950c23690 /nixos/modules/services/web-apps/mastodon.nix
parentee688534bda0652522f36dedd071886bb87ddf06 (diff)
downloadnixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.gz
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.bz2
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.lz
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.xz
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.tar.zst
nixpkgs-96f0c2c191c50aae55715c0e7cbc93510354fcf4.zip
mastodon, nixos/mastodon: use the same nodejs package in package and module
Diffstat (limited to 'nixos/modules/services/web-apps/mastodon.nix')
-rw-r--r--nixos/modules/services/web-apps/mastodon.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/mastodon.nix b/nixos/modules/services/web-apps/mastodon.nix
index 37e5f7719b7..24aea356de4 100644
--- a/nixos/modules/services/web-apps/mastodon.nix
+++ b/nixos/modules/services/web-apps/mastodon.nix
@@ -450,7 +450,7 @@ in {
         else { PORT = toString(cfg.streamingPort); }
       );
       serviceConfig = {
-        ExecStart = "${pkgs.nodejs-slim}/bin/node streaming";
+        ExecStart = "${cfg.package}/run-streaming.sh";
         Restart = "always";
         RestartSec = 20;
         EnvironmentFile = "/var/lib/mastodon/.secrets_env";