all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: Help Guix <help-guix@gnu.org>
Subject: Touchpad tap config in slim-service-type configuration
Date: Wed, 27 Mar 2019 16:17:09 +0100 (CET)	[thread overview]
Message-ID: <LaziU5K--3-1@tutanota.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3918 bytes --]

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 <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?



[-- Attachment #2: Type: text/html, Size: 8986 bytes --]

             reply	other threads:[~2019-03-27 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-27 15:17 znavko [this message]
2019-03-27 16:31 ` Touchpad tap config in slim-service-type configuration Ricardo Wurmus
2019-03-27 16:47   ` znavko
2019-03-27 18:12     ` Ricardo Wurmus
2019-03-28 17:24       ` znavko
2019-03-28 17:34         ` znavko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LaziU5K--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.