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] Refactor the code to make it more maintainable and readable #83

Closed
5 tasks done
ryan4yin opened this issue Mar 9, 2024 · 0 comments · Fixed by #79
Closed
5 tasks done

[Feature] Refactor the code to make it more maintainable and readable #83

ryan4yin opened this issue Mar 9, 2024 · 0 comments · Fixed by #79
Labels
enhancement New feature or request

Comments

@ryan4yin
Copy link
Owner

ryan4yin commented Mar 9, 2024

Why refactoring is needed?

My nix config was very simple at the beginning, but as I kept updating and adding new things, it became more and more complicated.

The current pain points of this project is:

  1. It's hard to read.
  2. It's hard to add a new host into the config, I have to edit several nix file very carefully.
  3. Every time I modified some shared configs, I have to deploy and test it on all my 20 hosts, which consumes energy and time.
  4. It's hard to refactor the config, nix's error message is obscure, and my poor project structure made it even worse.

The goal I want to achieve through refactoring

Sort by priority:

@ryan4yin ryan4yin added the enhancement New feature or request label Mar 9, 2024
@ryan4yin ryan4yin reopened this Mar 10, 2024
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

Successfully merging a pull request may close this issue.

1 participant