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

home.preferXdgDirectories = true; should be stronger for home-manager / nix itself #6268

Open
fxzzi opened this issue Jan 4, 2025 · 1 comment
Assignees

Comments

@fxzzi
Copy link

fxzzi commented Jan 4, 2025

Description

I like keeping my ~ folder tidy and clean. After using home-manager I noticed that it kept making the ~/.icons directory when I had icon themes and cursor theme options enabled. However this directory should not be used. home-manager even knows this and puts the same stuff in ~/.local/share/icons which is the correct place to put it.

With the option home.preferXdgDirectories = true;, I was expecting home-manager to stop creating these erroneous folders which don't follow the xdg base spec. However it's still created.

How could I stop the ~/.icons directory from being created by home-manager? And on that note what about ~/.nix-profile and .nix-defexpr?

thanks!

@teto
Copy link
Collaborator

teto commented Jan 4, 2025

the last two depend on your nix config use-xdg-base-directories (man nix.conf).

As for the first point. A quick grep returned modules/config/home-cursor.nix if you want to hack on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants