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";
in {
postStart = ''
chmod 550 '${cfgFile}'
echo "1111" >> ${cfgFile} # DEBUG
chmod 660 '${cfgFile}'
${lib.getExe pkgs.replace-secret} "@replace_oauth_secret@" "${oauthClientSecretFP}" "${cfgFile}"
chmod 440 '${cfgFile}'
'';