Description
Description
HM replaces any user-chosen settings and keymaps when using one of these options:
This is problematic in zed as explained in the wiki:
note that home-manager configuration produces a read only
settings.json
this means some features which requires to write this file might not work. For example change model at runtime. Changing AI model at runtime tries to write in the configuration.
This makes zed less user-friendly when configured with HM. Instead, it would be better if it were able to merge values with those found within those files.
The joplin-desktop module for example already does that:
home-manager/modules/programs/joplin-desktop.nix
Lines 140 to 147 in c6b75d6
This enables the user change settings dynamically within the app, while still making sure you get the ones you hardcoded in HM when reloading it.