Re: Configuring a service but not starting it on boot

2018-11-28 Thread Clément Lassieur
Hi Arun, Arun Isaac writes: > I would like to have the a service (specifically the tor service) listed > in my config.scm and configured using `guix system reconfigure > config.scm'. But, I do not want the service to start up at boot time. I > want to start/stop it using `herd' later as and

Re: Guile text editor

2018-11-28 Thread Efraim Flashner
On Wed, Nov 28, 2018 at 11:59:15AM +0100, Pierre Neidhardt wrote: > I suspect most Guix developers use Emacs with the Geiser mode for enhanced > Scheme integration. > > A segfault on "C-x u"? (you mean undo?) Very strange. Can you reproduce a > specific recipe? Is it just in Guile files? What

Guile text editor

2018-11-28 Thread znavko
Hello, developers! Parentheses in config.scm obstruct reading. Gedit does not highlight them, geany does not exists in guix, emacs highlights, but it is buggie: when I press c-x u many times this causes segmentation fault and it crushes. Which text editor from guixsd repository can highlight

Re: Guile text editor

2018-11-28 Thread Pierre Neidhardt
I suspect most Guix developers use Emacs with the Geiser mode for enhanced Scheme integration. A segfault on "C-x u"? (you mean undo?) Very strange. Can you reproduce a specific recipe? Is it just in Guile files? What minor modes are you running? Is it terminal or graphical Emacs? Note that

Re: Deleting unnecessary services from %desktop-services

2018-11-28 Thread znavko
Guile Manual says 'remove' returns elements. But I need to remove elements. "remove pred lst remove! pred lstReturn a list containing all elements from lst which do not satisfy the predicate pred. The elements in the result list have the same order as in lst. The order in which pred is applied

Re: Guile text editor

2018-11-28 Thread hub . lombard
Hello znavko, Weird, I use Gedit and it's OK for parentheses in 'config.scm'. Maybe remove and re-install Gedit? - Mail original - De: zna...@tutanota.com À: "Help Guix" Envoyé: Mercredi 28 Novembre 2018 11:22:41 Objet: Guile text editor Hello, developers! Parentheses in config.scm

Re: Configuring a service but not starting it on boot

2018-11-28 Thread Arun Isaac
> Attached is a hack I did a while ago. Hacks like the one you showed could work, but it would be nice to have a general purpose #:auto-start? property common to all services. Is there such a feature? If not, could we implement such a feature?

Re: Guile text editor

2018-11-28 Thread Pierre Neidhardt
> One more: when I've installed guile-emacs, emacs was starting for 30 seconds. > I > deleted guile-emacs, and now emacsstarts quickly (1-2 seconds). But I think it > works slower than geany. I need info how disable unnecessary stuff. How fast does Emacs start when run as `emacs -Q`? You can

Re: Failing to use guile-bash

2018-11-28 Thread Catonano
Il giorno mer 21 nov 2018 alle ore 19:22 David Larsson < david.lars...@selfhosted.xyz> ha scritto: > Hi, > I installed the guile-bash package and tried to use it as below but > can't get it to work. Anyone who is successfully using it? > > So far, I have done: > guix package -i guile-bash >

Re: Guile text editor

2018-11-28 Thread Catonano
Il giorno mer 28 nov 2018 alle ore 11:47 ha scritto: > Hello, developers! Parentheses in config.scm obstruct reading. Gedit does > not highlight them, geany does not exists in guix, emacs highlights, but it > is buggie: when I press c-x u many times this causes segmentation fault and > it

Re: Guile text editor

2018-11-28 Thread znavko
I've installed `guix package -i emacs-geiser` and open `emacs /etc/config.scm` Then 'M-x run-geiser' and it displayed in a half-window scree scheme. Here pic: http://0x0.st/s004.png Video shows much better code editing: https://www.youtube.com/watch?v=T6jGBWfqafc

Re: Configuring a service but not starting it on boot

2018-11-28 Thread Arun Isaac
> It would be best if we had a generic way to say which Shepherd > services should be started automatically and which shouldn’t. Could you describe some way to achieve this? If it's simple enough, I can implement it and contribute a patch.

Re: Guile text editor

2018-11-28 Thread Ludovic Courtès
Efraim Flashner skribis: > On Wed, Nov 28, 2018 at 11:59:15AM +0100, Pierre Neidhardt wrote: >> I suspect most Guix developers use Emacs with the Geiser mode for enhanced >> Scheme integration. >> >> A segfault on "C-x u"? (you mean undo?) Very strange. Can you reproduce a >> specific recipe?

Re: Guile text editor

2018-11-28 Thread Efraim Flashner
On Wed, Nov 28, 2018 at 06:22:52PM +0100, Ludovic Courtès wrote: > Efraim Flashner skribis: > > > On Wed, Nov 28, 2018 at 11:59:15AM +0100, Pierre Neidhardt wrote: > >> I suspect most Guix developers use Emacs with the Geiser mode for enhanced > >> Scheme integration. > >> > >> A segfault on

Re: Configuring a service but not starting it on boot

2018-11-28 Thread znavko
Your words are awesome! We need this option! Nov 28, 2018, 7:11 PM by arunis...@systemreboot.net: >> Attached is a hack I did a while ago. >> > > Hacks like the one you showed could work, but it would be nice to have a > general purpose #:auto-start? property common to all services. Is there >

Re: how to split config.scm in multiple files

2018-11-28 Thread Ludovic Courtès
Giovanni Biscuolo skribis: > IaGC [1] is much more... *functional* than other forms of IaC :-) > [1] Infrastructure as Guile Code Heheh, looks like we have our new marketing buzzword. :-) Ludo’.

Re: btrfs and subvolumes for root, take 2

2018-11-28 Thread Ludovic Courtès
Hello Fredrik, Fredrik Salomonsson skribis: > guix archive --authorize < > /gnu/store/cw55zvxzi3d9cjmhfvxsryz31jxb1y6k-guix-0.15.0-1.4876bc8/share/guix/berlin.guixsd.org.pub > guix pull --commit=d9f8e84 --substitute-urls="http://berlin.guixsd.org > http://mirror.hydra.gnu.org; > guix system

Re: Configuring a service but not starting it on boot

2018-11-28 Thread Ludovic Courtès
Hello Arun, Arun Isaac skribis: >> Attached is a hack I did a while ago. > > Hacks like the one you showed could work, but it would be nice to have a > general purpose #:auto-start? property common to all services. Is there > such a feature? If not, could we implement such a feature? The