Tanguy, Tanguy Le Carrour wrote:
Hello Guix!I've just read this thread [1] on the archive and I think it would be agreat feature! Any update on the topic?![1]: https://lists.gnu.org/archive/html/guix-devel/2019-02/msg00132.htmlI would love to have some services started when I log in (tor,transmission-daemon, mpd, gpg-agent… you name them!) without having torely on the root user and system configuration.
Note that this is already possible if you want it:~ λ cat /home/nckx/.config/shepherd/init.scm (load "services.scm")
(register-services emacs gpg-agent ibus-daemon jackd) (action 'shepherd 'daemonize) ; send shepherd into background (for-each start (list emacs)) ; services to start automatically~ λ cat /home/nckx/.config/shepherd/services.scm (define emacs
(make <service> #:provides '(emacs) #:requires '() #:start (make-system-constructor "emacs --daemon")#:stop (make-system-destructor "emacsclient --eval \"(kill-emacs)\"")))
;; ...much more snipped...~ λ grep shepherd /home/nckx/.xsession shepherd # user service manager
The discussion is about how to add it (and user stuff in general) to Guix, which is a big wriggly bag of tasty worms.
Kind regards, T G-R
signature.asc
Description: PGP signature