DEV Community

Discussion on: How I automate my OS 💻

Collapse
 
itlackey profile image
IT Lackey

I love your perspective here. As a developer it seems like the list on install and configure steps to get my workstation up and running is ever growing. I have been tinkering on ideas on how to automate the process and came to a similar solution. Now I am starting to work on a project to make this concept easy to manage, store in the cloud and sync between machines regardless of OS. I would love feedback on my idea and obviously any contributions from the community!

So far I mainly have worked on writing a wiki with my ideas and put together a basic setup to test with as I formalized my design. If anyone is interested please check out the wiki for my repo: github.com/itlackey/drifter

Not trying to spam your comments but am honestly looking for people in the community that might be interested in a tool like this and/or would like to help make it happen.

Thanks for writing this up and inspiring others to automate all the things!

Collapse
 
juliani profile image
Julian Iaquinandi

Thanks! I feel like my career in automating all the things is just beginning! 😉

No worries for posting your project, I've tried implementing something similar to what you are proposing with drifter.

I've settled on syncing everything via Github. I have a couple of bash scripts that either pull new changes in or push them back to the repo. So when changing a dotfile I run the appropriate script. My next step was to add some sort of file watcher to do this automatically but haven't got round to it.

For installs I have a bash script that generates a menu from the names of files in a scripts folder. I generally write a bash script for each package to install and can pick and choose what to install in the script.

For VSCode I use Settings Sync which I'm more than happy with but I am interested in integrating this into my script.

Have a look at my repo Linux Tools, most of the good stuff is in the installs folder. It's nothign special but it works for me!

Collapse
 
itlackey profile image
IT Lackey

That is great stuff!! It seems like our approach is more similar that I even thought originally. Basically drifter just adds a layer on top of what you are doing to help package the scripts for each app so it can be easily shared and used by others similar to npm, apt or package manager x. I started down that road for my own organization and sanity and then added the idea of syncing the associated configurations along with the app packages.
In theory this could provide the same feature as windows 10s setting synchronization but across all machines/OSes.
Anyway, I can rant all day about this stuff. So I will just say if you or anyone is interested in working together to make something like this please contact me. I'd love to work together with other automation junkies and am not opposed to ditching my project to contribute to something else that solves the same problem.