Skip to content

Conversation

alejandro-angulo
Copy link
Contributor

Prevents IFD without reintroducing the issue described in #455

Prevents IFD without reintroducing the issue described in
catppuccin#455
@alejandro-angulo alejandro-angulo changed the title Removed IFD while preventing failing startup chore(lazygit): remove IFD Jul 5, 2025
let
configFiles = [
"${sources.lazygit}/${cfg.flavor}/${cfg.accent}.yml"
] ++ lib.optional (config.programs.lazygit.settings != { }) configFile;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand the issue in #455 correctly, the issue is that home manager doesn't write lazygit's config file if we have an empty attrset.

This will break if someone doesn't use home manager to manage their lazygit config file (and for some reason only manages the theme config with this flake ¯\_(ツ)_/¯ ) but I think it's fine to assume users will manage the config with home manager.

@alejandro-angulo alejandro-angulo marked this pull request as ready for review July 5, 2025 01:45
Copy link
Member

@isabelroses isabelroses left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome. Thanks for doing this <3

@isabelroses isabelroses merged commit 719bb50 into catppuccin:main Jul 5, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants