flake.nix: make ExecStart single line

This commit is contained in:
Elnu 2025-03-26 12:35:41 -07:00
parent 772c75e56a
commit afc8504da8

View file

@ -107,12 +107,7 @@ Some utility commands:
wantedBy = [ "network.target" ];
serviceConfig = {
ExecStart = ''
${cfg.package}/bin/ji-chan \
--domain ${cfg.domain} \
--token ${cfg.token} \
--prefix ${cfg.prefix} \
--hugo ${cfg.hugo} \
--guildData ${cfg.guildData}
${cfg.package}/bin/ji-chan --domain ${cfg.domain} --token ${cfg.token} --prefix "${builtins.replaceStrings ["\""] ["\\\""] cfg.prefix}" --hugo ${cfg.hugo} --guildData ${cfg.guildData}
'';
Restart = "always";
DynamicUser = true;