diff options
author | Soispha <soispha@vhack.eu> | 2023-08-11 18:05:17 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-11 18:05:17 +0200 |
commit | 08eb7736c7e1897885e9e28a09bbc3510e572f8f (patch) | |
tree | a0e62c1d420fa39144a4c3ba0241efa9bb52c69b | |
parent | Fix(system/services/invidious): Force the new script option to be applied (diff) | |
download | nixos-server-08eb7736c7e1897885e9e28a09bbc3510e572f8f.tar.gz nixos-server-08eb7736c7e1897885e9e28a09bbc3510e572f8f.zip |
Fix(system/services/invidious): Add interpreter to start script
Diffstat (limited to '')
-rw-r--r-- | system/services/invidious/default.nix | 2 |
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 ''); |