summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-11 18:05:17 +0200
committerSoispha <soispha@vhack.eu>2023-08-11 18:05:17 +0200
commit08eb7736c7e1897885e9e28a09bbc3510e572f8f (patch)
treea0e62c1d420fa39144a4c3ba0241efa9bb52c69b
parentFix(system/services/invidious): Force the new script option to be applied (diff)
downloadnixos-server-08eb7736c7e1897885e9e28a09bbc3510e572f8f.tar.gz
nixos-server-08eb7736c7e1897885e9e28a09bbc3510e572f8f.zip
Fix(system/services/invidious): Add interpreter to start script
-rw-r--r--system/services/invidious/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/services/invidious/default.nix b/system/services/invidious/default.nix
index e9ac768..a1d202c 100644
--- a/system/services/invidious/default.nix
+++ b/system/services/invidious/default.nix
@@ -39,6 +39,8 @@ in {
         + lib.optionalString (cfg.extraSettingsFile != null) " \"${cfg.extraSettingsFile}\"";
     in
       lib.mkForce (pkgs.writeScript "start-invidious" ''
+        #! ${pkgs.dash}/bin/dash
+
         export INVIDIOUS_CONFIG="$(${pkgs.jq}/bin/jq -s "${jqFilter}" ${jqFiles})"
         exec ${cfg.package}/bin/invidious
       '');