Re: define udev-service-type fails with "did you forget to import.." error

2020-10-04 Thread Stefan Huchler
Tobias Geerinckx-Rice writes: > You might be able to use (@@ (gnu services base) > udev-shepherd-service), which forces the module to give up its > secrets. It's not good style, and it won't always work but often > does. A the double @ was a typo? tried it inside of (use-modules) with 1 or 2 @

Re: define udev-service-type fails with "did you forget to import.." error

2020-10-04 Thread Stefan Huchler
en > does. I will test that and report back, thanks for the info. > Because it's naive. See <http://issues.guix.gnu.org/43498> and - > please! - beat me to a fix ;-) Maybe I will, just currently more into some elisp/emacs projects. Regards Stefan Huchler

Re: define udev-service-type fails with "did you forget to import.." error

2020-10-04 Thread Stefan Huchler
And which does, and why does guix cli interface claim it would do that, with it's hint? A bug? Ricardo Wurmus writes: > Stefan Huchler writes: > >> Ludovic Courtès writes: >> >>> Hi, >>> >>> Stefan Huchler skribis: >>> >>

Re: define udev-service-type fails with "did you forget to import.." error

2020-10-04 Thread Stefan Huchler
Hello Ludo, did you see my answer? Ludovic Courtès writes: > Hi, > > Stefan Huchler skribis: > >> I get following error: >> /etc/config.scm:128:0: error: udev-shepherd-service: unbound variable >> hint: Did you forget `(use-modules (gnu services base))'? &g

Re: define udev-service-type fails with "did you forget to import.." error

2020-09-29 Thread Stefan Huchler
Ludovic Courtès writes: > Hi, > > Stefan Huchler skribis: > >> I get following error: >> /etc/config.scm:128:0: error: udev-shepherd-service: unbound variable >> hint: Did you forget `(use-modules (gnu services base))'? > > Could you send /etc/config.

define udev-service-type fails with "did you forget to import.." error

2020-09-27 Thread Stefan Huchler
When I try to redefine the udev-service like described in: https://guix.gnu.org/manual/en/html_node/Service-Types-and-Services.html (define udev-service-type (service-type (name 'udev) (extensions (list (service-extension shepherd-root-service-type

Re: how to add hwdb of keyboard

2020-09-20 Thread Stefan Huchler
ld be very happy :) Ricardo Wurmus writes: > Stefan Huchler writes: > >>>> I forked now the eudev definition to add my hwdb data: >>>> >>>> (add-before 'build-hwdb 'add-my-hwdb-file >>>> (lambda* (#:key outputs #:a

Re: how to add hwdb of keyboard

2020-09-20 Thread Stefan Huchler
I don't use sudo I loged in as root and the path is set the bashrc is loaded. Ricardo Wurmus writes: > Stefan Huchler writes: > >> Another annoying thing is that I have to use the -I parameter from guix: >> guix system reconfigure /etc/config.scm -L guix-packages/ >

Re: how to add hwdb of keyboard

2020-09-19 Thread Stefan Huchler
>> I forked now the eudev definition to add my hwdb data: >> >> (add-before 'build-hwdb 'add-my-hwdb-file >> (lambda* (#:key outputs #:allow-other-keys) >> (let ((out (assoc-ref outputs "out"))) >> (call-with-output-file >>

Re: how to add hwdb of keyboard

2020-09-15 Thread Stefan Huchler
Hello Ricardo, doesn't guix system not use eudev, in base.scm I see under udev-configuration under package udev-configuration-udev (default eudev) I think that file is very specific and if you have custom rule files why not custom hwdb files. The problem is that this more a flavor, I use a japane

Re: how to add hwdb of keyboard

2020-09-14 Thread Stefan Huchler
display "KEYBOARD_KEY_0e=backspace\n" port) (display "KEYBOARD_KEY_7d=backspace\n" port)) Is there a way to make guix system priotise my modified eudev over the upstream one? Stefan Huchler writes: > I build a package for it: > &

Re: how to add hwdb of keyboard

2020-09-11 Thread Stefan Huchler
ervice special-files-service-type `(("/etc/udev/hwdb.d/90-X220-keyboard.hwdb" ,(file-append x220-hwdb "90-X220-keyboard.hwdb" the problem is that the hwdb is compiled but read only, so the file must basically be there before the eudev p

how to add hwdb of keyboard

2020-09-11 Thread Stefan Huchler
I use a custom keyboard layout on one of my laptops: https://github.com/spiderbit/emacs-ergo-thinkpad-kb-layout I use a hwdb which has the advantage that it works on tty and x11 and that it's keyboard specific so if I connect a external keyboard it does not swap keys on it. I would be ok with gi

Re: Joint statement on the GNU Project

2019-10-10 Thread Stefan Huchler
Ludovic Courtès writes: > Hi Jean-Louis, > > Jean Louis skribis: > >> * Ricardo Wurmus [2019-10-10 07:09]: >>> I have previously asked you privately to stop spamming our mailing >>> lists. I am asking you a second time publicly. If you keep disrupting >>> our mailing lists your posts will be