1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

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