[Top][All Lists]

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

Re: unbound variable in attempt to install "lightdm"

From: Gottfried
Subject: Re: unbound variable in attempt to install "lightdm"
Date: Sat, 13 May 2023 12:44:40 +0000


after adding this sentence
I get the same message

gfp@Tuxedo /etc$  sudo guix system reconfigure /etc/config.scm
guix system: Fehler: Der Dienst „xorg-server“ kommt mehr als einmal vor

guix system: Error: The service "xorg-server" occurs more than once

it means I would have to change something in my config.scm

I added now 3 lines about lightdm (one is deleting gdm) see: ;;added
--------------------------------------------------------------- config.scm

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-modules (gnu services lightdm))                     ;;added
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg virtualization)

  (locale "de_DE.utf8")
  (timezone "Europe/Berlin")
  (keyboard-layout (keyboard-layout "de"))
  (host-name "Tuxedo")
  (users (cons* (user-account
                  (name "gfp")
                  (comment "Gfp")
                  (group "users")
                  (home-directory "/home/gfp")
                    '("wheel" "netdev" "audio" "video" "libvirt")))
      (list (specification->package "nss-certs"))
      (list (service mate-desktop-service-type)
            (service enlightenment-desktop-service-type)
            (service xfce-desktop-service-type)
            (service lightdm-service-type)                  ;;added
                        (service cups-service-type
                                        (web-interface? #t)
(extensions (list cups-filters hplip))))
                        (service openssh-service-type)
            (service tor-service-type)
               (keyboard-layout keyboard-layout)))
            (service libvirt-service-type
                      (unix-sock-group "libvirt")
                      (tls-port "16555")))
            (service virtlog-service-type
                      (max-clients 1000))))

      (modify-services %desktop-services
                config => (guix-configuration
                  (inherit config)
(extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))))
         (delete gdm-service-type)                           ;;added
         (sane-service-type _ => sane-backends))))

      (bootloader grub-efi-bootloader)
      (targets (list "/boot/efi"))
      (keyboard-layout keyboard-layout)))
   (list (swap-space
          (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))))
    (cons* (file-system
             (mount-point "/boot/efi")
             (device (uuid "BB77-FE3B" 'fat32))
             (type "vfat"))
             (mount-point "/")
               (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
             (type "ext4"))
  (initrd-modules (cons "virtio_scsi"    ; Needed to find the disk

Kind regards


Am 12.05.23 um 18:15 schrieb Felix Lechner:


in your list of services with something like

     (modify-services %desktop-services
         (delete gdm-service-type))

Kind regards


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

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