Configuring a service but not starting it on boot

2018-11-27 Thread Arun Isaac
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 when I require it. How do I achieve

Re: Features of installing package that works as service

2018-11-27 Thread znavko
Hello, Guix Help! guix understands this config, but still I have avahi-daemon and ntpd services. They are not started, I want delete them at all. How to do that? ;;this is znavko's cute config (use-modules (gnu) (gnu system nss) (gnu services desktop) (srfi srfi-1)

Re: Features of installing package that works as service

2018-11-27 Thread znavko
Thank you, Joshua Branson! Your code helped me a bit (use-modules  (gnu services databases) ) (services (cons*  (service postgresql-service-type) %desktop-services)) After `guix reconfigure /etc/config.scm` and reboot postgresql server is running: # herd status | grep postgre  + postgres The

Re: Deleting unnecessary services from %desktop-services

2018-11-27 Thread Pierre Neidhardt
To use 'remove' you need to import the srfi-1 module indeed. > guix system: error: service 'ntpd' requires 'networking', which is not > provided by any service This is telling you that you can't have the ntpd service if you remove the network stack, so - either remove ntpd - or add another

Re: How to get the store directory of a package output?

2018-11-27 Thread Jan Nieuwenhuizen
Gábor Boskovits writes: >> Using #$icedtea-8 inside a gexp gives me the store directory of the >> default icedtea's output. Adding (string-append #$icedtea-8 "/bin") >> to PATH gives me java. >> > > You can try #$icedtea-8:jdk according to the docs. I did not test this, Yes, that works. Now

Re: How to get the store directory of a package output?

2018-11-27 Thread Gábor Boskovits
Hello Jan, Jan Nieuwenhuizen ezt írta (időpont: 2018. nov. 27., K, 21:34): > > Hi! > > Using #$icedtea-8 inside a gexp gives me the store directory of the > default icedtea's output. Adding (string-append #$icedtea-8 "/bin") > to PATH gives me java. > You can try #$icedtea-8:jdk according to

How to get the store directory of a package output?

2018-11-27 Thread Jan Nieuwenhuizen
Hi! Using #$icedtea-8 inside a gexp gives me the store directory of the default icedtea's output. Adding (string-append #$icedtea-8 "/bin") to PATH gives me java. How do i get to the bin directory of javac, i.e. the "jdk" output of icedtea-8 inside a gexp? Greetings, janneke

Deleting unnecessary services from %desktop-services

2018-11-27 Thread znavko
Hello, Guix Help! Today I have a time to renew my attempts removing networkmanager, cups, avahi-daemon, ntpd. Pierre Neidhardt advised here https://lists.gnu.org/archive/html/help-guix/2018-09/msg00079.html but now my config

Re: Meltdown & Spectre

2018-11-27 Thread Giovanni Biscuolo
Hi znavko, (and Foreshadow? [1]) I'm still not using GuixSD as my primary OS, just in a testing environment, so I cat't help fully, but... writes: [...] > Also, how to embed necessary microcode? AFAIK GuixSD does not provide CPU microcode updates because they are non-free (not compatible

Re: how to split config.scm in multiple files

2018-11-27 Thread Giovanni Biscuolo
Hi Ludo, l...@gnu.org (Ludovic Courtès) writes: [...] > The ‘include’ form exists but you would need to use it at the top > level. OK, got it thanks! > However, I recommend using Guile’s module system instead. An example of > that can be found here: > > • modules: > >

Re: Features of installing package that works as service

2018-11-27 Thread Tonton
Welcome to Guix! On Tue, 27 Nov 2018 10:38:22 +0100 (CET) wrote: > Hello, Guix Help! I think GuixSD is cute, but manual is so incomprehensible > https://www.gnu.org/software/guix/manual/en/guix.html > Parts of the manual may be a bit

Re: Features of installing package that works as service

2018-11-27 Thread Joshua Branson
writes: > Hello, Guix Help! I think GuixSD is cute, but manual is so incomprehensible > https://www.gnu.org/software/guix/manual/en/guix.html Have you read the entire manual? I know I haven't. Before your complain that the manual is difficult to understand, be sure that you read all of it.

Features of installing package that works as service

2018-11-27 Thread znavko
Hello, Guix Help! I think GuixSD is cute, but manual is so incomprehensible https://www.gnu.org/software/guix/manual/en/guix.html I want to clear all possible options when I install packages that work as services. For example, can get