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: support for deploying home-manager configs on generic linux #16

Open
montchr opened this issue Feb 8, 2023 · 3 comments

Comments

@montchr
Copy link

montchr commented Feb 8, 2023

One of the main benefits of deploy-rs is its ability to deploy homeConfigurations to non-NixOS targets. However, I really appreciate and prefer the simplicity in Lollypops.

Would it be in scope for Lollypops to leverage the home-manager CLI to deploy individual user profiles on non-NixOS (generic) Linux destinations? I have not seen anything in the documentation about such a feature.

@pinpox
Copy link
Owner

pinpox commented Mar 7, 2023

This should theoretically be possible without much hassle, but I don't run non-NixOS targets and can't work on this issue actively. If you are interested in contributing this, I'll be happy to review the PR.

Currently, nixos-rebuild is hard-coded here. To implement what you want, the simplest option would be to make the complete rebuild/deploy command configurable, so you can run something else than nixos-rebuild, e.g. a home-manager command in your case.

@cmacrae
Copy link
Contributor

cmacrae commented Sep 14, 2023

I just opened #23 which could be used to do this. Though, at the moment, I believe lollypops discovers deploy targets based on nixosConfigurations. I'd like to see support for other platforms too, so if it's not being looked at already, I'll take a stab at discovering any systems that are defined in a flake

@pinpox
Copy link
Owner

pinpox commented Sep 29, 2023

I don't mind merging the ability for adding extra deploy targets. You are correct, currently only nixosConfigurations are looked at, which in my opinion should remain the default. If you want to try to implement it, I'll happinly review PR's ;)

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

3 participants