home-manager: Document 'force = true' option in error output

Add a note about 'force = true' as an option for addressing collision
errors
This commit is contained in:
fidgetingbits
2025-10-06 21:16:04 +08:00
committed by Austin Horstman
parent ac16cc25c6
commit c4aaddeaec

View File

@@ -54,7 +54,10 @@ if [[ ${#collisionErrors[@]} -gt 0 ]] ; then
" files automatically.
- When used as a NixOS or nix-darwin module, set"\
" 'home-manager.backupFileExtension'"\
" to, for example, 'backup' and rebuild."
" to, for example, 'backup' and rebuild.
- Set 'force = true' on the related file options to forcefully overwrite"\
" the files below. eg. 'xdg.configFile.\"mimeapps.list\".force = true'"
for error in "${collisionErrors[@]}" ; do
errorEcho "$error"
done