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

Documentation: /homes/${system}/${user} vs /homes/${system}/${user}@${host} capabilities #159

Open
nicdumz opened this issue Jan 22, 2025 · 0 comments

Comments

@nicdumz
Copy link

nicdumz commented Jan 22, 2025

I have been curiously looking at https://github.com/jakehamilton/config to understand how snowfall can actually be used.

There I've noticed /homes/x86_64-linux/short/default.nix which isn't in the user@host format.

It turns out that if you have a machine host, and create:

  • /homes/x86_64-linux/user/default.nix
  • /homes/x86_64-linux/user@host/default.nix

Then both modules are imported when building user's home on host.

This is great and intuitive, I could adopt this in my configs (nicdumz/nix-config@dee7eaa) but https://snowfall.org/guides/lib/homes/ and https://snowfall.org/reference/lib/#flake-structure do not document this (great) feature.

nicdumz referenced this issue in jakehamilton/config Jan 22, 2025
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

No branches or pull requests

1 participant