unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Felix Lechner <felix.lechner@lease-up.com>
Cc: Mario Forzanini <mf@marioforzanini.com>, help-guix@gnu.org
Subject: Re: unbound variable in attempt to install "lightdm"
Date: Sat, 13 May 2023 12:44:40 +0000	[thread overview]
Message-ID: <cadb251f-9aab-c5f3-5b81-65ede8fcdb51@posteo.de> (raw)
In-Reply-To: <CAFHYt56sntGR9hz=Quak+KWWd2K_BxJhj2oKCSKnXGih+_MBTA@mail.gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 4057 bytes --]

Hi,

after adding this sentence
I get the same message

gfp@Tuxedo /etc$  sudo guix system reconfigure /etc/config.scm
Passwort:
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)

(operating-system
   (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")
                   (supplementary-groups
                     '("wheel" "netdev" "audio" "video" "libvirt")))
                 %base-user-accounts))
   (packages
     (append
       (list (specification->package "nss-certs"))
       %base-packages))
   (services
     (append
       (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
                                 (cups-configuration
                                         (web-interface? #t)
                                         (extensions (list cups-filters 
hplip))))
                         (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                (keyboard-layout keyboard-layout)))
             (service libvirt-service-type
                      (libvirt-configuration
                       (unix-sock-group "libvirt")
                       (tls-port "16555")))
             (service virtlog-service-type
                      (virtlog-configuration
                       (max-clients 1000))))


       (modify-services %desktop-services
          (guix-service-type
                 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
     (bootloader-configuration
       (bootloader grub-efi-bootloader)
       (targets (list "/boot/efi"))
       (keyboard-layout keyboard-layout)))
   (swap-devices
    (list (swap-space
           (target (uuid "51d5cd20-4513-4a02-9e35-df4338eccaa0")))))
   (file-systems
     (cons* (file-system
              (mount-point "/boot/efi")
              (device (uuid "BB77-FE3B" 'fat32))
              (type "vfat"))
            (file-system
              (mount-point "/")
              (device
                (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d"
                      'ext4))
              (type "ext4"))
            %base-file-systems))
   (initrd-modules (cons "virtio_scsi"    ; Needed to find the disk
                         %base-initrd-modules)))
-----------------------------------------------------------------------

Kind regards

Gottfried


Am 12.05.23 um 18:15 schrieb Felix Lechner:

>      %desktop-services
> 
> in your list of services with something like
> 
>      (modify-services %desktop-services
>          (delete gdm-service-type))
> 

> 
> Kind regards
> Felix


-- 




[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2023-05-13 12:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 15:05 unbound variable in attempt to install "lightdm" Gottfried
2023-05-12 15:20 ` Mario Forzanini
2023-05-12 15:50   ` Gottfried
2023-05-12 16:15     ` Felix Lechner via
2023-05-13 12:44       ` Gottfried [this message]
     [not found]   ` <95d43a2a-4425-6309-86dd-657ff46155da@posteo.de>
2023-05-12 16:33     ` Mario Forzanini

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=cadb251f-9aab-c5f3-5b81-65ede8fcdb51@posteo.de \
    --to=gottfried@posteo.de \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    --cc=mf@marioforzanini.com \
    /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.
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).