help-guix
[Top][All Lists]
Advanced

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

Re: printer installed, now scanner ?


From: Gottfried
Subject: Re: printer installed, now scanner ?
Date: Sun, 20 Feb 2022 17:25:31 +0000

Hi,

Below is my config.scm: it has 60 lines (if the 61:1 refers to a line???)

after: sudo guix system reconfigure /etc/config.scm

this message:

/etc/config.scm:61:1: schließende Klammer fehlt (in English closing bracket is missing)

I don`t know where is the missing bracket?

Gottfried



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

(use-modules (gnu))
(use-package-modules cups scanner)
(use-service-modules cups desktop networking ssh xorg)

(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")))
                %base-user-accounts))
  (packages
    (append
      (list (specification->package "awesome")
            (specification->package "nss-certs"))                  
      %base-packages))
  (services
    (append
      (list (service mate-desktop-service-type)
            (service enlightenment-desktop-service-type)
                        (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))))
      (modify-services %desktop-services
                (sane-service-type _ => sane-backends))
                
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (target "/boot/efi")
      (keyboard-layout keyboard-layout)))
  (swap-devices
    (list (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)))





Am 20.02.22 um 16:45 schrieb SeerLite:
On 2/20/22 11:13, Gottfried wrote:
what do I have to add exactly and where?

Hi! You have to *replace* %desktop-services in your file with the example usage of modify-services from the manual that Gary sent in his previous email.

This:

     %desktop-services

has to become this:

     (modify-services %desktop-services
       (sane-service-type _ => sane-backends))

Additionally, you have to import the right module that contains the sane-backends package. So you'll have to add "scanner" to your use-package-modules line at the top.





reply via email to

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