[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 |
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
--
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature