~yoctocell

https://yoctocell.xyz

~yoctocell/git-email-devel

Last active 19 days ago

~yoctocell/misc

Last active a month ago

~yoctocell/guile-sourcehut

Last active 3 months ago

~yoctocell/notmuch-groups

Last active 4 months ago

~yoctocell/peertube

Last active 5 months ago
View more

Recent activity

Re: [PATCH] gnu: home-services: mail: Add L2md service. 19 hours ago

From Xinglu Chen to ~abcdw/rde-devel

On Mon, Jun 21 2021, Andrew Tropin wrote:

>> +(define-configuration/no-serialization home-l2md-configuration
>> +  (package
>> +    (package l2md)
>> +    "The L2md package to use.")
>> +  (period
>> +   (integer 180)
>> +   "The number of seconds between each round of fetching Git
>> +repositories.")
>> +  (maildir
>> +   (string "")
>> +   "The maildir to which messages should be delivered.  This can also be
>> +set on a per-list basis using the using the @code{maildir} field in

Re: [PATCH] gnu: home-services: mail: Improve serialization for Isync service. 19 hours ago

From Xinglu Chen to ~abcdw/rde-devel

On Mon, Jun 21 2021, Andrew Tropin wrote:

> Xinglu Chen <public@yoctocell.xyz> writes:
>
>> On Fri, Jun 18 2021, Andrew Tropin wrote:
>>
>>> Xinglu Chen <public@yoctocell.xyz> writes:
>>>
>>>> * mail.scm (%isync-all-caps-words): New variable.
>>>> (serialize-isync-config): Serialize symbols according to the Isync
>>>> naming conventions.  Serialize numbers.
>>>> ---
>>>> The naming of symbols should be consistent across services, one
>>>> shouldn’t have to write 'symbol-name in one field and 'SymbolName in

Re: [PATCH] gnu: home-services: mail: Improve serialization for Isync service. 3 days ago

From Xinglu Chen to ~abcdw/rde-devel

On Fri, Jun 18 2021, Andrew Tropin wrote:

> Xinglu Chen <public@yoctocell.xyz> writes:
>
>> * mail.scm (%isync-all-caps-words): New variable.
>> (serialize-isync-config): Serialize symbols according to the Isync
>> naming conventions.  Serialize numbers.
>> ---
>> The naming of symbols should be consistent across services, one
>> shouldn’t have to write 'symbol-name in one field and 'SymbolName in
>> another field.  Guix should take care of serializing 'symbol-name to
>> whatever format the program expects (camelCase, snake_case, etc.).
> From one point view it's cool, from another it will force us to cover
> all corner cases like SSL, IMAP, etc, as you did below.  The problem is

[PATCH] guix: scripts: home: Add ‘import’ command. 3 days ago

From Xinglu Chen to ~abcdw/rde-devel

* guix/scripts/home.scm (show-help): Add ‘import’ command.
(process-command): Likewise.
(manifest->code, home-environment-template, import-manifest): New
procedures.
---
 guix/scripts/home.scm | 193 ++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 185 insertions(+), 8 deletions(-)

diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm
index 11b3d6c..8bebab0 100644
--- a/guix/scripts/home.scm
+++ b/guix/scripts/home.scm
@@ -1,6 +1,7 @@
(define-module (guix scripts home)
[message trimmed]

[PATCH] gnu: home-services: mail: Add L2md service. 3 days ago

From Xinglu Chen to ~abcdw/rde-devel

* gnu/home-services/mail.scm: (string-or-list-of-strings?,
list-of-l2md-repos): New procedures.
(<l2md-repo>, <home-l2md-configuration>): New record types.
(serialize-l2md-configuration, l2md-files-service,
l2md-profile-service): New procedures.
(home-l2md-service-type): New service type.
---
 gnu/home-services/mail.scm | 139 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 138 insertions(+), 1 deletion(-)

diff --git a/gnu/home-services/mail.scm b/gnu/home-services/mail.scm
index a9bbf93..1c7afed 100644
--- a/gnu/home-services/mail.scm
+++ b/gnu/home-services/mail.scm
[message trimmed]

[PATCH] gnu: home-services: mail: Improve serialization for Isync service. 3 days ago

From Xinglu Chen to ~abcdw/rde-devel

* mail.scm (%isync-all-caps-words): New variable.
(serialize-isync-config): Serialize symbols according to the Isync
naming conventions.  Serialize numbers.
---
The naming of symbols should be consistent across services, one
shouldn’t have to write 'symbol-name in one field and 'SymbolName in
another field.  Guix should take care of serializing 'symbol-name to
whatever format the program expects (camelCase, snake_case, etc.).

 gnu/home-services/mail.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/home-services/mail.scm b/gnu/home-services/mail.scm
index bfb4284..f3a03c0 100644
[message trimmed]

Re: [PATCH 0/5] Make ‘run-on-change’ service support any file or directory in ~/.guix-home 5 days ago

From Xinglu Chen to ~abcdw/rde-devel

On Tue, Jun 15 2021, Andrew Tropin wrote:

> Found one small inconsistency with home-files: There is a leading slash
> in file/directory pattern in run-on-change service, while there is no
> such in home-files.
>
> "/files/config/sway/config" vs "config/sway/config"
>
> Can it be confusing for users?
> What do you think?

Yeah, it’s probably a good idea to keep things consistent.  I think it’s
better not start with “/” since i usually means an aboslute path, which
it isn’t in this case.

Re: Changes to the SSH service. 6 days ago

From Xinglu Chen to ~abcdw/rde-devel

On Tue, Jun 15 2021, Andrew Tropin wrote:

> Xinglu Chen <public@yoctocell.xyz> writes:
>
>> Hi,
>>
>> I just refactored the SSH service, below are some user-visible changes.
>>
>> * The ‘host’ field for ‘home-ssh-configuration’ has been renamed to
>>   ‘default-host’, which is a much more accurate name.
>>
>> * The ‘ssh-host’ and ‘ssh-match’ record types have changed slightly, you
>>   now have to specify the field name and the value, not just the value.
>>

Changes to the SSH service. 9 days ago

From Xinglu Chen to ~abcdw/rde-devel

Hi,

I just refactored the SSH service, below are some user-visible changes.

* The ‘host’ field for ‘home-ssh-configuration’ has been renamed to
  ‘default-host’, which is a much more accurate name.

* The ‘ssh-host’ and ‘ssh-match’ record types have changed slightly, you
  now have to specify the field name and the value, not just the value.

    (ssh-host "savannah"
              '((key . value)))

  would now be

[PATCH] gnu: home-services: ssh: Support toplevel options. 9 days ago

From Xinglu Chen to ~abcdw/rde-devel

* gnu/home-services/ssh.scm (serialize-field): Add optional keyword
argument ’toplevel?’
(serialize-toplevel-alist): New procedure.
(home-ssh-configuration): Add ‘toplevel-option’ field.

Suggested-by: Tony O <me@fron.io>
Link: https://lists.sr.ht/~abcdw/rde-devel/%3CXNh-7CLvmQPB70oQ7r5c1spO7t8NotWPYKyeKKBqnTF44zmB31BDYAUhUNrUNo9Miftg2MaQxOrMcY33ZuC4kg%3D%3D%40fron.io%3E
---
Is this what you want?

This config

--8<---------------cut here---------------start------------->8---
(service home-ssh-service-type
[message trimmed]