Home-manager remote deployment

nixos-rebuild with options such as --target-host etc. allows remote deployment of NixOS configurations. Alternatively there are tools such as morph or colmena for doing similar things.

Is it possible to deploy home-manager configurations remotely?

(I’d prefer a flake-based solution, if possible.)

1 Like

There is nothing like that OOTB.

But you can script something using nix copy --to and ssh.

deploy-rs can push a profile, this may be working?

Cachix Deploy supports home manager and has an example flake: Deploying to agents — documentation

1 Like