I’m reaching out because I could really use some help setting up my VSCode to work smoothly with GitHub on my NixOS. I’ve cloned my repository but that simply downloads everything and am able to edit and commit to Github, but that doesn’t edit the configuration files in my /etc/nixos.
Here’s what I’m trying to do:
- GitHub : I have my project on GitHub at this link: https://github.com/tolgaerok/NixOS-tolga
Branch : I want to put my changes into the
Folder Target: More specifically, I’m working with some NixOS configuration files on my computer in the
/etc/nixosfolder. I want these files to automatically go into the
nixosfolder in my GitHub.
My goal is that whenever I modify my NixOS files on my computer, these changes will get sent automatically/commit/push to the right spot in my GitHub folder:
Here’s where I’m running into issues:
- Getting it Set Up: I’m not quite sure how to set up everything in VSCode and the Git/GitHub stuff so that everything goes where it’s supposed to.
Commit / Push: I’d love for my changes to just zip over to the
nixosfolder on GitHub whenever I make a change locally, but I’m a bit lost on how to make that happen.
If you’ve got any experience with this kind of thing or can break down how to set up VSCode, Git, and GitHub in simple steps, I’d really appreciate your help. Any guidance, tips, or resources you can share would be much appreciated.