-
Notifications
You must be signed in to change notification settings - Fork 102
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
[Question] remoteBuild has no effect, still build locally. #300
Comments
I am using gpg key protected by password (gpg-agent) as ssh key programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
}; Is it the problem? |
Seems it is caused by the deploy-rs is so hard to use imho, documentation seems incomplete. |
I know this is off-topic: But have you found any alternatives? NixOps just seems deprecated, and the other solutions don't seem that popular. Currently I invoke nixos-rebuild for every machine that I manage which quickly gets tiresome. Reason: I'm running into the same issue of everything being built locally instead on the target machines which just fills up my hard drive space pointlessly and costs obscene amounts of bandwidth due to garbage collection. Ideally it should behave like the following command:
|
I used
remoteBuild = true;
but it still build on local machine.same as
--remote-build
flag.I configure the flake like this:
I am very new to deploy-rs, this is the first deploy system I use after I switch to nixos.
Usually I just ssh into the remote system and run
nixos-rebuild switch
, which is quite demanding.I have no experience to deploy remote machine like this, even the
nixos-rebuild --target-host --build-host
command (Not using it because it seem not supporting sudo with password)Does it require some additional settings like
nix.settings.trusted-user
? Thanks!The text was updated successfully, but these errors were encountered: