unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: o.rojon@posteo.net
To: 41121@debbugs.gnu.org
Subject: bug#41121: (Keyboard-layout) form does not work "across the board"
Date: Thu, 07 May 2020 09:01:50 +0200	[thread overview]
Message-ID: <7d29a1f07e7656f042551876ec6f2b44@posteo.net> (raw)

Hej guys,

so I hope this actually is a bug and not something not yet implemented 
or a misunderstanding on my part.

In the process of changing my login manager to slim (over gdm), I 
noticed that the (keyboard-layout ...) form does not work the same way 
in the (bootloader)/(set-xorg-configuration) and the 
(slim-configuration) form. While in the former cases, (keyboard-layout 
keyboard-layout) uses the string I inputted in the beginning of the 
config file, an error is thrown when I try to do the same in the 
(slim-configuration) form (error 1). When I simply use (service 
slim-service-type) and try to supplement via (set-xorg-configuration), 
an error is thrown as well (error 2).

Have a good day folks, guix rules :)

### The errors (with my shabby translations)
1) user@computer ~$ sudo guix system reconfigure 
src/guix-config/os-desktop.scm
Passwort:
guix system: error: „src/guix-config/os-desktop.scm“ could not be 
loaded: /home/user/src/guix-config/os-desktop.scm:68:30: Wrong type to 
apply: #<<keyboard-layout> name: "de" variant: #f model: #f options: ()>

2) user@computer ~$ sudo guix system reconfigure 
src/guix-config/os-desktop.scm
guix system: error: Der Dienst „xorg-server“ kommt mehr als einmal vor


### The config file (note that some parens might be unbalanced because I 
tried to remove the "unnecessary" stuff)
(use-modules (gnu)
	     (srfi srfi-1))

(use-service-modules desktop networking ssh xorg)

(use-package-modules disk llvm linux ncdu xorg less gnome fonts 
display-managers lxqt syncthing
		     version-control emacs emacs-xyz tex cups video gstreamer gnuzilla 
web-browsers
		     messaging mail rsync suckless pdf curl databases hardware wm)

(operating-system
   (locale "de_DE.utf8")
   (timezone "Europe/Berlin")
   (keyboard-layout (keyboard-layout "de"))
   (host-name "computer")
   (users (cons* (user-account
                   (name "user")
                   (comment "")
                   (group "users")
                   (home-directory "/home/hapster")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video")))
                 %base-user-accounts))
   (packages
     (append
       (map specification->package
  	'(
	 ;;;; PACKAGES
					))
       %base-packages))

   ;;;; "alternative" Konfiguration
   (services (cons* (service slim-service-type)
			    ;; (slim-configuration
			    ;;  (xorg-configuration
			    ;;   (keyboard-layout keyboard-layout))))
		   ;; (set-xorg-configuration
		   ;;  (xorg-configuration
		   ;;   (keyboard-layout keyboard-layout)))
		   (remove (lambda (service)
			     (eq? (service-kind service) gdm-service-type))
		   %desktop-services)))
   (bootloader
     (bootloader-configuration
       (bootloader grub-bootloader)
       (target "/dev/sdX")
       (keyboard-layout keyboard-layout)))
   (file-systems
     (cons*
               ;;;; FILESYSTEMS
            %base-file-systems)))




             reply	other threads:[~2020-05-07  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-07  7:01 o.rojon [this message]
2020-05-24 17:37 ` bug#41121: (Keyboard-layout) form does not work "across the board" Stefan Huchler

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=7d29a1f07e7656f042551876ec6f2b44@posteo.net \
    --to=o.rojon@posteo.net \
    --cc=41121@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).