~abcdw/rde-discuss

2 2

How to override presets?

Igor Zolnerkevic <igorz@abismos.net>
Details
Message ID
<CAG6f0YVuNbLpCcUcQmdPfG3bC=ZcAmmfS3-4edQK+76YsuHkqA@mail.gmail.com>
DKIM signature
missing
Download raw message
Hello everyone,
Before asking my question, let me share my user experience with the rde tools.
I am a Physicist turned journalist, who took
introductory computer science classes in the early 2000's, and since
then, didn't write a single line of code.
Then recently I became interested in Linux Guix watching the
System Crafters videos. Looking for a more light and modern
configuration, I decided some months ago to try Andrew
Tropin's rde.
I still need to study the basics of Guile to understand
everything, but even so, with a little grasp of elisp from my old
Physicist's days, I managed to install, tweak and enjoy the 0.3.0 version.

The new 0.4.0 version though seems a bit too sophisticated for me
to understand. One serious problem I having is that I still didn't manage
to learn how to override the settings defined in the "(rde features
presets)" module. Could you please show me some examples of
configurations to do this? For instance, the default pinentry flavor
for the gnupg feature listed in the presets module is an qt app. Now
suppose I prefer the pinentry emacs flavor. Where should I declare
this?

Best regards,
Igor Zolnerkevic
Details
Message ID
<878ratzz19.fsf@trop.in>
In-Reply-To
<CAG6f0YVuNbLpCcUcQmdPfG3bC=ZcAmmfS3-4edQK+76YsuHkqA@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 2023-08-01 03:09, Igor Zolnerkevic wrote:

Hi Igor!

> Hello everyone,
> Before asking my question, let me share my user experience with the rde tools.
> I am a Physicist turned journalist, who took
> introductory computer science classes in the early 2000's, and since
> then, didn't write a single line of code.
> Then recently I became interested in Linux Guix watching the
> System Crafters videos. Looking for a more light and modern
> configuration, I decided some months ago to try Andrew
> Tropin's rde.

In fact it's already a community effort project :)

> I still need to study the basics of Guile to understand
> everything, but even so, with a little grasp of elisp from my old
> Physicist's days, I managed to install, tweak and enjoy the 0.3.0 version.
>
> The new 0.4.0 version though seems a bit too sophisticated for me
> to understand. One serious problem I having is that I still didn't manage
> to learn how to override the settings defined in the "(rde features
> presets)" module. Could you please show me some examples of
> configurations to do this? For instance, the default pinentry flavor
> for the gnupg feature listed in the presets module is an qt app. Now
> suppose I prefer the pinentry emacs flavor. Where should I declare
> this?

Nothing too radically new in 0.4.0 compared to 0.3.0, however some
tweaks in example configurations are done, e.g. some renaming and
restructring, moving some feature lists to rde presests, autoload of
users and hosts submodules, but it doesn't change the fundamental usage
principal: just construct a list of features and make rde-config out of
it :)

Added an example of list manipulation, which shows how to remove
original and re-add customized features:
https://git.sr.ht/~abcdw/rde/tree/31ee6e98c2b3d8468326d2b1f9c9eba74dae91e6/examples/src/rde-configs/users/abcdw.scm#L311

HTH.

-- 
Best regards,
Andrew Tropin
Igor Zolnerkevic <igorz@abismos.net>
Details
Message ID
<CAG6f0YXaL7WyaENO79DPc587KxTGQBJG3VU5a+qkj9SL9feWeQ@mail.gmail.com>
In-Reply-To
<878ratzz19.fsf@trop.in> (view parent)
DKIM signature
missing
Download raw message
Thank you, Andrew! I will try to use these functions after finishing
my Guile's introductory studies :)

On Wed, Aug 2, 2023 at 7:27 AM Andrew Tropin <andrew@trop.in> wrote:
>
> On 2023-08-01 03:09, Igor Zolnerkevic wrote:
>
> Hi Igor!
>
> > Hello everyone,
> > Before asking my question, let me share my user experience with the rde tools.
> > I am a Physicist turned journalist, who took
> > introductory computer science classes in the early 2000's, and since
> > then, didn't write a single line of code.
> > Then recently I became interested in Linux Guix watching the
> > System Crafters videos. Looking for a more light and modern
> > configuration, I decided some months ago to try Andrew
> > Tropin's rde.
>
> In fact it's already a community effort project :)
>
> > I still need to study the basics of Guile to understand
> > everything, but even so, with a little grasp of elisp from my old
> > Physicist's days, I managed to install, tweak and enjoy the 0.3.0 version.
> >
> > The new 0.4.0 version though seems a bit too sophisticated for me
> > to understand. One serious problem I having is that I still didn't manage
> > to learn how to override the settings defined in the "(rde features
> > presets)" module. Could you please show me some examples of
> > configurations to do this? For instance, the default pinentry flavor
> > for the gnupg feature listed in the presets module is an qt app. Now
> > suppose I prefer the pinentry emacs flavor. Where should I declare
> > this?
>
> Nothing too radically new in 0.4.0 compared to 0.3.0, however some
> tweaks in example configurations are done, e.g. some renaming and
> restructring, moving some feature lists to rde presests, autoload of
> users and hosts submodules, but it doesn't change the fundamental usage
> principal: just construct a list of features and make rde-config out of
> it :)
>
> Added an example of list manipulation, which shows how to remove
> original and re-add customized features:
> https://git.sr.ht/~abcdw/rde/tree/31ee6e98c2b3d8468326d2b1f9c9eba74dae91e6/examples/src/rde-configs/users/abcdw.scm#L311
>
> HTH.
>
> --
> Best regards,
> Andrew Tropin
Reply to thread Export thread (mbox)