emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Giacomo M <jackjackk@gmail.com>
To: Stefan Huchler <stefan.huchler@mail.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Orgmode for managing OS configuration
Date: Thu, 3 Nov 2016 15:22:41 +0100	[thread overview]
Message-ID: <CA+GKSr6T703ez4VTSEK_sr5-WM_5_U+MyVZkqjm59P8RUMDOhQ@mail.gmail.com> (raw)
In-Reply-To: <87mvhgbrlb.fsf@jupiter.lan>

[-- Attachment #1: Type: text/plain, Size: 1892 bytes --]

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.

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" <stefan.huchler@mail.de> ha
scritto:

> Giacomo M <jackjackk@gmail.com> 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.
>
>
>

[-- Attachment #2: Type: text/html, Size: 2417 bytes --]

  reply	other threads:[~2016-11-03 14:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA+GKSr7GAvW-iZTDEnAM6EdU=rp3QZi7HmFWG_TV3My-UyS2MA@mail.gmail.com>
     [not found] ` <CA+GKSr7rvUMwpSxkFtVuEb+48qoRn3WLVuXbd0yjuha4oj9TiQ@mail.gmail.com>
     [not found]   ` <CA+GKSr5NeWOe259b7YKrg==f=3KFjyrkf6ed4X6+g5rjeVWUjw@mail.gmail.com>
     [not found]     ` <CA+GKSr5o_t879MsGSv+dhKo_QK+ktXkzfwgn8OauZ8AhC_UEPA@mail.gmail.com>
     [not found]       ` <CA+GKSr4-pP2pzwvJaL2AdNYZpiWYD177iOXUN3fRxZ9fWpceGQ@mail.gmail.com>
     [not found]         ` <CA+GKSr5CAweuBR2C8xZRdHKdd=mY+31NKe3y4usv0=r-8S2NPg@mail.gmail.com>
     [not found]           ` <CA+GKSr4HpaNm2GMeJEHk5atuf43=NOGZ-jogqApMv2DPMzdRvQ@mail.gmail.com>
     [not found]             ` <CA+GKSr54xVPiSoWYfAup-KP1QPp_67HjVDryMpfHLmgWq24Mmw@mail.gmail.com>
     [not found]               ` <CA+GKSr5PQ8Gk38DU4LkWY4a3xqunr+8NzuCXrO6g7bng1taEWg@mail.gmail.com>
     [not found]                 ` <CA+GKSr6nQSjwBttRCT6sMyUyE_RdH7uf=teKyAkHQY2Wv-EwJA@mail.gmail.com>
     [not found]                   ` <CA+GKSr4A_XAicTpi7m5tVy8YK-aGcjft0Gs5HfeqR_e8_YjzHw@mail.gmail.com>
     [not found]                     ` <CA+GKSr6M1MiykhQazYpUB3vGoXSZObk7Ls569Muqm_5Nof7KdA@mail.gmail.com>
     [not found]                       ` <CA+GKSr52E_m04cWnTVfK1Uct-WqRC+WdtGnt9WQegc1uMMR-sA@mail.gmail.com>
     [not found]                         ` <CA+GKSr6G16qX069Xi1kOHTEDhxTXV_b9vP_n+RFnSQh=jTzC7Q@mail.gmail.com>
     [not found]                           ` <CA+GKSr5k1YhaOR2h1E1wY45Zj-sPkp4bFJNM0JfGxbc0GxPtKg@mail.gmail.com>
     [not found]                             ` <CA+GKSr7F+RGjZSLkxFkJTcQVg3eLFqm41y1kTi+CnWvimxPQ1w@mail.gmail.com>
2016-11-03 11:44                               ` Orgmode for managing OS configuration Giacomo M
2016-11-03 13:50                                 ` Stefan Huchler
2016-11-03 14:22                                   ` Giacomo M [this message]
2016-11-03 14:30                                     ` PICCA Frederic-Emmanuel
2016-11-03 20:24                                     ` John Hendy
2016-11-03 16:02                                 ` William Denton
2016-11-03 18:20                                 ` Grant Rettke
2016-11-26 18:26                                 ` Karl Voit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+GKSr6T703ez4VTSEK_sr5-WM_5_U+MyVZkqjm59P8RUMDOhQ@mail.gmail.com \
    --to=jackjackk@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=stefan.huchler@mail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).