When using home-manager options to setup ~/.aws/config, the file is made immutable. This breaks (at least) the SSO login in IntelliJ, although the necessary config options are all already in place in the file.
To reproduce
- Ensure
~/.aws/config is properly configured for Q
chmod a-w ~/.aws/config
- Open Q in IntelliJ and attempt to login (with SSO)
- See that the plugin throws an error about not being able to write AWS config
- Close the error; plugin returns back to the beginning login screen
Expected behavior
Login succeeds and opens the Q chat.
Your Environment
- IntelliJ 2025.2
- Amazon Q 3.94.252
- OS: NixOS 25.11