-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(home-manager/k9s): support darwin without XDG #311
Conversation
I ran into a similar issue with lazygit (see #312 ). Would it be easier to maintain this flake if there were an assertion ensuring XDG is enabled rather than sprinkling in darwin checks? |
This worked for me as expected on Darwin both with and without xdg. |
k9s expects configuration files on OS X to live in `~/Library/Application Support/k9s` instead of `~/.config.k9s`. This commit handles the case where the module is built for a darwin system with xdg disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would probably be better to follow the upstream module's example here
This should also be formatted with nixfmt-rfc-style
- More closely matches the upstream module in home-manager - Formatted with nixfmt-rfc-style
Co-authored-by: seth <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
k9s expects configuration files on OS X to live in
~/Library/Application Support/k9s
instead of~/.config.k9s
. This commit handles the case where the module is built for a darwin system with xdg disabled.See: #310