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

unprivileged updating #426

Open
KiaraGrouwstra opened this issue Nov 19, 2024 · 0 comments
Open

unprivileged updating #426

KiaraGrouwstra opened this issue Nov 19, 2024 · 0 comments

Comments

@KiaraGrouwstra
Copy link
Contributor

so far, nixos-anywhere's terraform module deploys updates presuming:

  • ssh access
  • root/sudo permissions
  • nixos with nix
  • builds handled by the machine invoking terraform (same for install) then pushed to the target machine, whereas the nixos-anywhere cli also offers say --build-on-remote

now, an alternate way to deploy new configurations seems to poke* servers to pull them from a cache.
this approach seems taken by nixless-agent, whose author has commented on usage with nixos-anywhere.

it would be nice to see such an approach supported in nixos-anywhere's nixos-rebuild TF step as well, as an alternative to the SSH+privilege+push approach currently used.

* this part involves security considerations as well

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