-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
nixos-rebuild overwrites existing files in /etc #22005
Comments
Example: an existing file can be fetched with |
Triggering an error isn't so easy, because an equivalent of switch can happen on boot-time, and there it's a much larger problem if you just fail. It shouldn't be silent in any case. |
Are there any updates to this issue, please? |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
As it is implemented currently, nixos-rebuild will overwrite existing files in /etc. Wouldn't it be better if instead of overwriting them, it printed a warning?
The text was updated successfully, but these errors were encountered: