Added character escaping

This commit is contained in:
Illia Chub 2020-12-23 19:10:24 +02:00
parent eea3109ecf
commit e579054e19

View file

@ -136,13 +136,13 @@ EOF
{ {
systemd.tmpfiles.rules = systemd.tmpfiles.rules =
let let
nextcloudDBPass = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] '' nextcloudDBPass = builtins.replaceStrings [ "\n" "\"" "\\\" ] [ "\\\n" "\\\\\"" "\\\\\\\\" ] ''
irememberMyownvillagewhereiwasdrillingshit1 irememberMyownvillagewhereiwasdrillingshit1
''; '';
nextcloudAdminPass = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] '' nextcloudAdminPass = builtins.replaceStrings [ "\n" "\"" "\\\" ] [ "\\\n" "\\\\\"" "\\\\\\\\" ] ''
irememberMyownvillagewhereiwasdrillingshit1 irememberMyownvillagewhereiwasdrillingshit1
''; '';
resticPass = builtins.replaceStrings [ "\n" "\"" "\\" ] [ "\\n" "\\\"" "\\\\" ] '' resticPass = builtins.replaceStrings [ "\n" "\"" "\\\" ] [ "\\\n" "\\\\\"" "\\\\\\\\" ] ''
irememberMyownvillagewhereiwasdrillingshit1 irememberMyownvillagewhereiwasdrillingshit1
''; '';
in in