Maintain your own configuration on nixos #1258
Replies: 5 comments 6 replies
-
make sure when it't not in the gitignore when u update your own fork to github. also, .gitkeep won't effect anything else, the only purpose of .gitkeep is to keep an empty dir while pushing to github. |
Beta Was this translation helpful? Give feedback.
-
Do I have to update to github? Because I am not sure that this change is correct, so I want to test it without submitting it, and then push it to the repo after passing it. Can this be achieved? |
Beta Was this translation helpful? Give feedback.
-
You can add your own files by using |
Beta Was this translation helpful? Give feedback.
-
If you want to contribute to git remote add upstrem <repo-url>.
git checkout upstrem -b <branch_name> |
Beta Was this translation helpful? Give feedback.
-
thx, is this the only solution now? Use nix develop in the nivmdots repository to test whether the added things are available. Then update to the remote. Instead of building the system directly in the normal environment and testing it as I said. I saw that you also forked this repository and maintained it yourself. But you give up the user_template directory and handled the conflicts yourself. I don't want to handle conflicts myself while enjoying upstream updates, I want to find a better local testing solution. After testing, submit it to the remote repo |
Beta Was this translation helpful? Give feedback.
-
I forked this repo. What I wanted to do was to add my own stuff to user_template first, then change the url to a local path, build the nixos configuration and test it, and then upload it to the fork repo. Is there anything that needs attention in this process, such as the repo itself not processing this directory or .gitkeep affecting the nixos build? @misumisumi
Beta Was this translation helpful? Give feedback.
All reactions