mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-26 04:51:26 +00:00
Remove comma
This commit is contained in:
parent
6e6d21af62
commit
819df84cd3
|
@ -65,7 +65,7 @@ in
|
||||||
if cfg.pleroma.enable then ''
|
if cfg.pleroma.enable then ''
|
||||||
echo 'import Config' > /var/lib/pleroma/secrets.exs
|
echo 'import Config' > /var/lib/pleroma/secrets.exs
|
||||||
echo 'config :pleroma, Pleroma.Repo,' >> /var/lib/pleroma/secrets.exs
|
echo 'config :pleroma, Pleroma.Repo,' >> /var/lib/pleroma/secrets.exs
|
||||||
echo ' password: "REPLACEME",' >> /var/lib/pleroma/secrets.exs
|
echo ' password: "REPLACEME"' >> /var/lib/pleroma/secrets.exs
|
||||||
|
|
||||||
${sed} -i "s/REPLACEME/$(cat /etc/nixos/userdata/userdata.json | ${jq} -r '.databasePassword')/g" /var/lib/pleroma/secrets.exs
|
${sed} -i "s/REPLACEME/$(cat /etc/nixos/userdata/userdata.json | ${jq} -r '.databasePassword')/g" /var/lib/pleroma/secrets.exs
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue