Working on the dotfiles and GNU Guix

2023年3月22日水曜日 16:00 by [ - Junko - ]
Tags [ - Tech - ]

lately i have been working on a gnu guix setup, something i can set up both as a system and as a home environment i can deploy on any other linux distribution, so i don’t have to worry about configuring things manually whenever i need to have my environment at hand.

up until know we’ve been using gnu stow as the tool to make symlinks to the config files automatically, but as our dotfile folder got more cluttered, it started to get annoying to manually specify what to stow as opposed to just stow *.

<Anuma> We've also had a fascination with deployment scripts, I personally tried to make one for void, called FresitaOS, but it proved to be a bit hard for our smooth brain.

Even though in the end worked, it meant we had to use post install scripts that would need their permissions changed, later get deleted, the entire dotfile folder would had to be moved from root user folder to the user and having its permissions changed too.

While it did its thing, I wasn't very proud of it.
<Junko> yes! thankfully with guix, the system will set itself up with the scheme config files we feed to it, so we won't have to worry about making any sort of install script, although i think i may end up writing one to have the system installed and the home environment deployed, even if it's just a couple of commands.
<Anuma> Even then, should be much easier.

By the way, would you mind using capitalization for when you redact text? It gets a bit annoying to read whatever you write.
<Junko> no. this is my post, if you want capitalization write one yourself.

with the guix setup now working, both tested as a guix system and a home environment on top of endeavour, all there is left to do is to cleanup the dotfiles folder. the plan is to make one big document with all the proper explanations on how everything works, that will get org-tangled into all the different configuration files the system needs, so all modifications can be done in one single file that itself edits the actual config files.

after all of this is done, the dotfiles will be publicly available for anyone who wants them, both in a github repo and in this site.

progress

todo list for future stuff:

Go back