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

Feature Request - storing gcroot under /nix/var/nix/ #118

Open
peterhoeg opened this issue Aug 19, 2022 · 3 comments
Open

Feature Request - storing gcroot under /nix/var/nix/ #118

peterhoeg opened this issue Aug 19, 2022 · 3 comments

Comments

@peterhoeg
Copy link

When using colmena apply --keep-result, could the symlink go into /nix/var/nix/profiles/per-user/$(whoami)/colmena instead of dumping it into the .gcroots directory relative to the configuration?

This would be similar to how nixops does it.

@peterhoeg
Copy link
Author

This would also avoid issues with things getting garbage collected early if for whatever reason /home isn't available, which might be the case when /home is on a LUKS volume.

@peterhoeg
Copy link
Author

Just to add a bit of context - nix-direnv wants to continue with indirect gcroots due a range of other files being written to its state directory. As colmena just generates a single symlink for the node, doing direct gcroots would work perfectly fine.

@peterhoeg
Copy link
Author

Related #79

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