Re: Idea: Function composition to declare operating-system

2022-09-02 Thread Ludovic Courtès
Hi Théo, Théo Maxime Tyburn skribis: > I experimented on a functional approach to the operating > system declaration. My goal was to be able to pass an operating-system > instance to a composition of functions, modifying it one after another > and returning the desired operating-system object. I

Re: Idea: Function composition to declare operating-system

2022-08-31 Thread Hartmut Goebel
Am 29.08.22 um 17:14 schrieb Théo Maxime Tyburn: Anyway, what do you think about this functionality? Have you already experimented with similar things? Did I reinvent the wheel? Is there a better approach? I really like the idea! -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...

Re: Idea: Function composition to declare operating-system

2022-08-30 Thread Théo Maxime Tyburn
Hi muradm! muradm writes: [...] >> --BEGIN USE_CASE >> For example to add jackd to my system I need to add the "realtime" >> group, add some users to this group and add a pam-limits-service. If >> I >> want to remove this functionality from my system using the >> declarative >> approach I hav

Re: Idea: Function composition to declare operating-system

2022-08-30 Thread muradm
Hi, I had similar problem popping up periodically. So here are my 10 cents.. Théo Maxime Tyburn writes: Hi guix! [...] --BEGIN USE_CASE For example to add jackd to my system I need to add the "realtime" group, add some users to this group and add a pam-limits-service. If I want to re

Idea: Function composition to declare operating-system

2022-08-29 Thread Nathan Dehnel
Very cool!

Idea: Function composition to declare operating-system

2022-08-29 Thread Théo Maxime Tyburn
Hi guix! I experimented on a functional approach to the operating system declaration. My goal was to be able to pass an operating-system instance to a composition of functions, modifying it one after another and returning the desired operating-system object. I find this approach more convenient be