emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Orgmode for managing OS configuration


From: John Hendy
Subject: Re: [O] Orgmode for managing OS configuration
Date: Thu, 3 Nov 2016 15:24:29 -0500

On Thu, Nov 3, 2016 at 9:22 AM, Giacomo M <address@hidden> wrote:
> Dear Stefan,
>
> thanks for the hints, I wasn't aware of these projects. While they sound
> appealing, I would like to stick to my current distribution (archlinux), for
> a variety of reasons (e.g. Im updating my raspberry which seems more
> supported by arch than nixos, I'm more familiar with it, I like the vanilla
> approach and wiki). Anyway, I'll look more into these options.

Made me chuckle. I'm on Arch and have been for years after trying a
bunch of others. It's hard to explain but you just find a distro that
works and you like it... and it's hard to imagine going elsewhere! We
had the same thought when accomplishing this through another distro
was suggested (even if those other distros are amazing).

I'd love to hear where you get with this, and the idea is quite
intriguing. It's pretty rare I wipe and re-install, but I do like to
keep configuration files backed up so I don't have to re-figure-out
everything between my last install and the next. I have a cron job
that grabs config files of interest and stores them in one folder;
periodically I push to git. That's as far as I got and generally on a
new system I just pull them in one by one as I remember that I need
them.

Packages can cause this issue... after a year or two on a system,
there's packages that say they were explicitly installed, but I don't
recall why. Some way to track the evolution of a system along with
notes/links of where you found some fix or solution would be really
cool (and well suited to Org!).

I'd like to see/hear about what you end up with!


John

>
> Still, having one or few org files documenting AND implementing my setup,
> apart from being easy potential blog posts, I think would help me keeping
> things under control (especially over years-long time horizons). It is
> working well for my emacs conf  (before my .emacs was a mess), but not sure
> if it's the same scaling up to OS (e.g. chmod when tangling, root user
> privileges when executing, or other things I'm not aware of).
>
>
> Il 03 Nov 2016 2:55 PM, "Stefan Huchler" <address@hidden> ha
> scritto:
>>
>> Giacomo M <address@hidden> writes:
>>
>> > Dear all,
>> > I would like to clean up my Linux setup to be easily replicable. I am
>> > considering keeping everything in one org file, and then tangling
>> > files (e.g. exec scripts, systemd service unit files) and executing
>> > bash snippets (e.g. for installing packages and sed'ing config files).
>> > Then one would need just emacs and git (or rsync) to start with.
>> >
>> > Does anybody have experience with this? Is the experience positive or
>> > negative?
>> >
>> > Also, should I just run emacs as root? Or using somehow sudo non
>> > interactively for babel blocks execution?
>> >
>> > Thanks,
>> >
>> > Giacomo M
>>
>> Do you know about nixos and guixsd? Sounds like you want to implement
>> here something similar, except less good cause this distributions have
>> also atomic updates and features like testing a configuration and
>> rollback features and some sort of conflict management, also it can
>> switch "profiles" without reboots and stuff like that.
>>
>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]