fix(users/flokli/nixos-tvix-cache): use escapeSystemdExecArgs

escapeSystemdExecArgs is the function that should be used to escape
Exec* service lines.

See a72b1b3c65/nixos/lib/utils.nix (L122-L128)

Reported-By: matrix:u/lukas:luflosi.de
Change-Id: Ia3a628db221a30310154c060a6e29ccb2c94c352
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12930
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
Florian Klink 2024-12-29 23:26:16 +01:00 committed by clbot
parent 06311444aa
commit b12ea8d786

View file

@ -1,5 +1,6 @@
{ config
, lib
, utils
, pkgs
, depot
, ...
@ -61,7 +62,7 @@ in
after = [ "nar-bridge.socket" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${package}/bin/nar-bridge ${lib.escapeShellArgs args}";
ExecStart = "${package}/bin/nar-bridge ${utils.escapeSystemdExecArgs args}";
Restart = "always";
RestartSec = "10";