Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-10-06 Thread Ludovic Courtès
Hi, Maxime Devos skribis: > It might be possible to modify 'make-forkexec-constructor/container' to call > (exec-command (cons* newuidmap ARGUMENTS-TO-NEWUIDMAP command) ...), > where newuidmap is (search-input-file "newuidmap" '("/run/setuid-programs" > "/usr/sbin" "/sbin")). > That path shoul

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-10-04 Thread Maxime Devos
Ludovic Courtès schreef op ma 04-10-2021 om 16:32 [+0200]: > Maxime Devos skribis: > > > Ludovic Courtès schreef op za 02-10-2021 om 16:27 [+0200]: > > > Maxime Devos skribis: > > > > > > > Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: > > > > > Hi, > > > > > > > > > > Joshua Bran

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-10-04 Thread Ludovic Courtès
Maxime Devos skribis: > Ludovic Courtès schreef op za 02-10-2021 om 16:27 [+0200]: >> Maxime Devos skribis: >> >> > Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: >> > > Hi, >> > > >> > > Joshua Branson skribis: >> > > >> > > > Apologies if I'm speaking for something I know very

Re: Code sharing between system and home services

2021-10-04 Thread Ludovic Courtès
Hi, Vagrant Cascadian skribis: > Debian finally enabled it by default in the current stable release, > bullseye, which was released just a few months ago (and it was possible > to enable with a boot flag in earlier releases). That’s great news, woohoo! > Not sure which distros still disable un

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-10-03 Thread Maxime Devos
Ludovic Courtès schreef op za 02-10-2021 om 16:27 [+0200]: > Maxime Devos skribis: > > > Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: > > > Hi, > > > > > > Joshua Branson skribis: > > > > > > > Apologies if I'm speaking for something I know very little > > > > about...Wouldn't it

Re: Code sharing between system and home services

2021-10-02 Thread Vagrant Cascadian
On 2021-10-02, Ludovic Courtès wrote: > Maxime Devos skribis: >> Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: >>> Joshua Branson skribis: >>> >>> > Apologies if I'm speaking for something I know very little >>> > about...Wouldn't it be nice if guix home services would accept a user

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-10-02 Thread Ludovic Courtès
Maxime Devos skribis: > Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: >> Hi, >> >> Joshua Branson skribis: >> >> > Apologies if I'm speaking for something I know very little >> > about...Wouldn't it be nice if guix home services would accept a user >> > and a group field? For the

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-29 Thread Maxime Devos
Ludovic Courtès schreef op di 28-09-2021 om 14:21 [+0200]: > Hi, > > Joshua Branson skribis: > > > Apologies if I'm speaking for something I know very little > > about...Wouldn't it be nice if guix home services would accept a user > > and a group field? For the syncthing service, perhaps the u

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-28 Thread Ludovic Courtès
Hi, Joshua Branson skribis: > Apologies if I'm speaking for something I know very little > about...Wouldn't it be nice if guix home services would accept a user > and a group field? For the syncthing service, perhaps the user wants to > limit Syncthing's runtime permissions. So instead of runn

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-28 Thread Ludovic Courtès
Hi, Xinglu Chen skribis: > I didn’t know about the parent mechanism; that could be an approach to > take. But since ‘define-configuration’ is based on (guix records), > would it make sense to adapt (guix records) to (rnrs records syntactic) > instead of SRFI-9 records? Yes, it would make sense

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-27 Thread Andrew Tropin
On 2021-09-24 16:03, Maxime Devos wrote: > Xinglu Chen schreef op vr 24-09-2021 om 15:35 [+0200]: >> On Thu, Sep 23 2021, Ludovic Courtès wrote: >> >> > Hi, >> > >> > Xinglu Chen skribis: >> > >> > > Some services might be useful to have in both Guix System and Guix Home; >> > > for instance,

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-27 Thread Maxim Cournoyer
Hi, Xinglu Chen writes: > On Thu, Sep 23 2021, Ludovic Courtès wrote: > >> Hi, >> >> Xinglu Chen skribis: >> >>> Some services might be useful to have in both Guix System and Guix Home; >>> for instance, Guix System currently has a service for configuring >>> Syncthing, and I think it makes sen

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-24 Thread Maxime Devos
Xinglu Chen schreef op vr 24-09-2021 om 17:39 [+0200]: > [...] > I didn’t know about the parent mechanism; that could be an approach to > take. But since ‘define-configuration’ is based on (guix records), > would it make sense to adapt (guix records) to (rnrs records syntactic) > instead of SRFI-

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-24 Thread Xinglu Chen
On Fri, Sep 24 2021, Maxime Devos wrote: > Xinglu Chen schreef op vr 24-09-2021 om 15:35 [+0200]: >> On Thu, Sep 23 2021, Ludovic Courtès wrote: >> >> > Hi, >> > >> > Xinglu Chen skribis: >> > >> > > Some services might be useful to have in both Guix System and Guix Home; >> > > for instance,

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-24 Thread Joshua Branson
Xinglu Chen writes: > On Thu, Sep 23 2021, Ludovic Courtès wrote: > >> Hi, >> >> Xinglu Chen skribis: >> >>> Some services might be useful to have in both Guix System and Guix Home; >>> for instance, Guix System currently has a service for configuring >>> Syncthing, and I think it makes sense to

Re: Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-24 Thread Maxime Devos
Xinglu Chen schreef op vr 24-09-2021 om 15:35 [+0200]: > On Thu, Sep 23 2021, Ludovic Courtès wrote: > > > Hi, > > > > Xinglu Chen skribis: > > > > > Some services might be useful to have in both Guix System and Guix Home; > > > for instance, Guix System currently has a service for configuring

Code sharing between system and home services (was Re: On the naming of System and Home services modules.)

2021-09-24 Thread Xinglu Chen
On Thu, Sep 23 2021, Ludovic Courtès wrote: > Hi, > > Xinglu Chen skribis: > >> Some services might be useful to have in both Guix System and Guix Home; >> for instance, Guix System currently has a service for configuring >> Syncthing, and I think it makes sense to also have one for Guix Home, >>