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

Split into per-host subflakes #19

Open
matrss opened this issue Jan 30, 2024 · 1 comment
Open

Split into per-host subflakes #19

matrss opened this issue Jan 30, 2024 · 1 comment

Comments

@matrss
Copy link
Owner

matrss commented Jan 30, 2024

With subflakes it should be possible to make changes affect only the system they are made on. Currently, if something in e.g. /hosts/hazuno is changed, the other hosts configuration hashes change as well, forcing an unnecessary update.

@matrss
Copy link
Owner Author

matrss commented Jan 31, 2024

The cause for one host to affect another was adding this flake to every systems flake registry (and therefore copying the full nix source code into each output). By removing this entry from the registry in b0bdb80 the issue should be solved, even without splitting this into sub-flakes.

Splitting might still have some benefit in regard to being able to advance each systems nixpkgs input independent from each other, without having a bunch of nixpkgs inputs in the top-level flake.

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