This commit is contained in:
2025-11-12 18:51:16 +03:00
parent 9844252b4d
commit fc34f43f4d

View File

@@ -129,8 +129,7 @@ in
cfgFile = "${config.services.writefreely.stateDir}/config.ini"; cfgFile = "${config.services.writefreely.stateDir}/config.ini";
in { in {
postStart = '' postStart = ''
chmod 550 '${cfgFile}' chmod 660 '${cfgFile}'
echo "1111" >> ${cfgFile} # DEBUG
${lib.getExe pkgs.replace-secret} "@replace_oauth_secret@" "${oauthClientSecretFP}" "${cfgFile}" ${lib.getExe pkgs.replace-secret} "@replace_oauth_secret@" "${oauthClientSecretFP}" "${cfgFile}"
chmod 440 '${cfgFile}' chmod 440 '${cfgFile}'
''; '';