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

[RFC] Move home-manager support to separate module repo? #14

Open
accelbread opened this issue Feb 28, 2024 · 1 comment
Open

[RFC] Move home-manager support to separate module repo? #14

accelbread opened this issue Feb 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@accelbread
Copy link
Collaborator

accelbread commented Feb 28, 2024

This is not a final decision, but proposing moving home-manger support to a separate flake like flakelight-rust, etc.

This would have the following advantages:

  • It would be able to have a flake dependency on home-manager, and set a default value for inputs.home-manager
  • The auto-update script could test with latest home-manager

Downsides:

  • People are using current built in support.
  • People would need to add an input, and add the module, likely adding 2 lines to their config.

In order to do this, the migration will have to be easy for users configuring home-manager with flakelight. Perhaps that could look like having an module flake that allows either using module or not to work, and adding a warning for deprecation period for those using homeConfigurations but not the module.

Also see #13 for related Darwin discussion.

@accelbread accelbread added the enhancement New feature or request label Feb 29, 2024
@cmacrae
Copy link
Contributor

cmacrae commented Mar 3, 2024

Perhaps that could look like having an module flake that allows either using module or not to work, and adding a warning for deprecation period for those using homeConfigurations but not the module.

I like this idea, personally. I think it's a good idea to move home-manager support out into its own module and your idea for a deprecation period would be a pretty acceptable transition, I feel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants