help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Touchpad tap config in slim-service-type configuration


From: znavko
Subject: Touchpad tap config in slim-service-type configuration
Date: Wed, 27 Mar 2019 16:17:09 +0100 (CET)

Hello! I have updated guix and tried to run `guix system reconfigure ..` (just for update, config is the same), but something has been changed in guix repository (I think so).

The error is this:

# guix system reconfigure /etc/config.scm
/etc/config.scm:65:46: error: extraneous field initializers (slim-configuration-startx)

My config is this:

  (services (cons* 
                    ;;(service postgresql-service-type)
                    (xfce-desktop-service-type)
                    (modify-services     
                      ;;(remove (lambda (service)
                      ;;  (eq? (service-kind service)
                      ;;    wpa-supplicant-service-type))
                      ;;  (remove (lambda (service)
                      ;;    (eq? (service-kind service)
                      ;;      static-networking-service-type))
                          (remove (lambda (service)
                            (eq? (service-kind service)
                              ntp-service-type))
                            (remove (lambda (service)
                              (eq? (service-kind service)
                                avahi-service-type))
                              (modify-services %desktop-services

                                (slim-service-type config =>
                                              (slim-configuration
                                               (inherit config)
                                               (startx
                                                (xorg-start-command
                                                 #:configuration-file
                                                 (xorg-configuration-file
                                                  #:extra-config
                                                  '(
"Section \"InputClass\"
        Identifier \"touchpad\"
        Driver \"libinput\"
        MatchIsTouchpad \"on\"
        Option \"Tapping\" \"on\"
EndSection"
                                 ))))))
  )  ;end of modify-services 2nd


                            )  ;end of remove avahi
                          )  ;end of remove2 ntp
                        ;;)  ;end of remove3 networking
                      ;)  ;end of remove4 wpa-supplicant
                      (elogind-service-type
                        c => (elogind-configuration (handle-lid-switch 'ignore)))
                    );;end of modify-services 1st desktop-services
  ));;end of services


I have studied the guile file https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/xorg.scm#n550  but I have no sense how to rewrite my config, cause I really have not studied Guile yet.

Please, rewrite it for me. Where to include my touchpad config now?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]