Re: Automatically mapping services from System to Home

2023-03-29 Thread Bruno Victal
Hi Ludo’, On 2023-03-28 17:18, Ludovic Courtès wrote: > One idea I toyed with is automatic translation of service types from > System to Home. The service itself would look like this: > > --8<---cut here---start->8--- > (define-module (gnu home services syncth

Re: Automatically mapping services from System to Home

2023-03-28 Thread Attila Lendvai
> Thoughts? my gut reaction is that whatever the automatic mapping does should be captured/reified into the code that defines a service... factoring out the common parts, and adding on top of that whatever is necessary in the two different contexts. but then i'm not sure i fully understand the

Automatically mapping services from System to Home

2023-03-28 Thread Ludovic Courtès
One idea I toyed with is automatic translation of service types from System to Home. The service itself would look like this: --8<---cut here---start->8--- (define-module (gnu home services syncthing) #:use-module (gnu home services) #:use-module (gnu servi