From: Sergey Trofimov <sarg@sarg.org.ru>
To: guix-devel@gnu.org
Subject: Are declarative app configs worth it?
Date: Tue, 26 Dec 2023 14:53:27 +0100 [thread overview]
Message-ID: <874jg5hvz7.fsf@sarg.org.ru> (raw)
Hi guix,
I want to start a discussion around how to manage user app config
files.
Copying my message from https://issues.guix.gnu.org/68010, where
home-zathura-configuration with 76 fields is proposed.
I have mixed feelings about pulling 3rd-party software
configurations in guix:
- adding it to guix increases maintenance burden: new versions
could add or remove config options
- it requires documentation/translation, another hidden cost
- it bloats guix: imagine if we add configs for every
user-configurable app
- such configs are not easily transferrable: if I were to use the
same app in non-guix env, I'd have to maintain 2 configs
Another recent example is `oci-container-configuration` which
defines a subset of docker-cli startup arguments. The problem is
that `docker run` command has 96 options and the configuration
only uses a handful, lacking a way to provide the remaining ones.
I think guix should not embed config generators for user software.
The only need I see for such generators is when there are options
which should be the same among multiple applications (e.g. color
schemes or shared directories). For such usecase guix should
provide better text manipulation tools which home owners could use
to parameterise configs.
Best regards,
Sergey Trofimov
next reply other threads:[~2023-12-26 14:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 13:53 Sergey Trofimov [this message]
2023-12-26 14:56 ` Are declarative app configs worth it? Ricardo Wurmus
2023-12-26 15:05 ` John Soo
2023-12-26 15:18 ` Nguyễn Gia Phong via Development of GNU Guix and the GNU System distribution.
2023-12-26 16:50 ` Ricardo Wurmus
2023-12-27 1:34 ` Nguyễn Gia Phong via Development of GNU Guix and the GNU System distribution.
2023-12-26 15:39 ` Attila Lendvai
2023-12-26 16:49 ` Ricardo Wurmus
2023-12-27 7:38 ` Sergey Trofimov
2023-12-28 14:28 ` Efraim Flashner
2023-12-27 4:15 ` Murad Mamedov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874jg5hvz7.fsf@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=guix-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.