unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: help-guix@gnu.org
Subject: bad use of syntactic keyword
Date: Thu,  9 Mar 2023 16:49:43 +0000	[thread overview]
Message-ID: <d8f826e1-6e7f-917a-a364-0b7a17702001@posteo.de> (raw)


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

Hi,

after adding: "service redshift" to my config.scm

running

sudo guix system configure /etc/config.scm

it says:

guix system: Fehler: _: bad use of '_' syntactic keyword

german Fehler = mistake

I don’t know where is my mistake.
................................................................................
here my config.scm:

;; 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 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 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)))
             (service home-redshift-service-type
                      (home-redshift-configuration
                       (location-provider 'manual)
                       (latitude 52.5)        ;northern hemisphere
                       (longitude 13.5)))     ;Berlin
             (modify-services %desktop-services
  	      (guix-service-type
                    config => (guix-configuration
                      (inherit config)
                      (extra-options (list "--gc-keep-derivations=yes" 
"--gc-keep-outputs=yes")))))
	    (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)))

............................................................................ 

Thanks for help

Kind regards

Gottfried


[-- 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-03-09 16:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09 16:49 Gottfried [this message]
2023-03-09 17:20 ` bad use of syntactic keyword Julien Lepiller
2023-03-11 10:15   ` Gottfried
2023-03-11 14:26     ` Julien Lepiller
2023-03-09 22:32 ` Marek Paśnikowski

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=d8f826e1-6e7f-917a-a364-0b7a17702001@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@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.
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).