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:
parent
ac16cc25c6
commit
c4aaddeaec
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue