Skip to content
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

[FEAT] Support XDG Base Directory-respecting Nix user configuration #837

Closed
Liassica opened this issue May 1, 2024 · 1 comment
Closed
Labels
enhancement New feature or request help wanted

Comments

@Liassica
Copy link

Liassica commented May 1, 2024

Wanted features:

Currently, Fastfetch will not pick up Nix user packages if the folder (or symlink) ~/.nix-profile is not present (i.e. Nix is set to respect XDG Base Directory). For example, if nix.settings.use-xdg-base-directories is set to true in Home Manager, Home Manager will not create the folder ~/.nix-profile,[1] causing this behavior. The XDG Base Directory equivalent of ~/.nix-profile is $XDG_STATE_HOME/nix/profile.

Motivation:

Hyfetch had a similar issue, which I reported and that got fixed. I tried out Fastfetch today and noticed it had the same issue. The fix used there was to check ~/.nix-profile if it exists, otherwise falling back to $XDG_STATE_HOME/nix/profile.

@Liassica Liassica added the enhancement New feature or request label May 1, 2024
@CarterLi
Copy link
Member

CarterLi commented May 2, 2024

@xoltia Can you take a look at this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted
Projects
None yet
Development

No branches or pull requests

2 participants