From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPhHMLjmC2KcIAEAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 18:45:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KJDFLLjmC2ILXwEAauVa8A (envelope-from ) for ; Tue, 15 Feb 2022 18:45:28 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47DA444754 for ; Tue, 15 Feb 2022 18:45:23 +0100 (CET) Received: from localhost ([::1]:50236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK1tC-0007zr-22 for larch@yhetil.org; Tue, 15 Feb 2022 12:45:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK1t0-0007zU-0v for help-guix@gnu.org; Tue, 15 Feb 2022 12:45:10 -0500 Received: from [2a00:5884:8208::1] (port=38920 helo=lepiller.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK1sx-0006Jg-Az for help-guix@gnu.org; Tue, 15 Feb 2022 12:45:09 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id c1783b5a; Tue, 15 Feb 2022 17:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=VC804+OLYbwO PsIXuXAX0n2B00tKgkhEasRkSfGmi+o=; b=NnyVSQ7Cm8jZ2dyb7oSm6HEqmKdi lOiHU/n9Iyr68fbYr2wYc8K7bWvPdxqsVEOb0CIfiKrwjDNt3oMptqyxLXC/bySK STv4NoUc5rRzwMGbcP/k6r5XWMKNYkLWUEHVLE48tD5swSnNEPZWWCVRlyCzjLFw Io01sFW0+UQkPr/refckPk4yt0188li8lO7hx/78mkVdrMIE3kSfNCn4QM6YrItL NNuqXWv558CUkDZfeZ694UOsGO4JKzSW6UyZN/6oimbeyUYUb4j4Idn7XZ85ebJR vC6Nb1tQaAa3CKQQ11CqdQ2bokNgdc/ax+MLFJ68Di40ghuBbRQSeLuNCA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 2a0427b4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 15 Feb 2022 17:44:58 +0000 (UTC) Date: Tue, 15 Feb 2022 18:44:43 +0100 From: Julien Lepiller To: Gottfried , help-guix@gnu.org Subject: Re: install a Printer User-Agent: K-9 Mail for Android In-Reply-To: <546032bd-52fa-9970-9de9-f936e4a046df@posteo.de> References: <07dd192a-c66e-ab47-891c-7111c4bd7b12@posteo.de> <9930FFD6-CE4A-4D1F-9377-A5D9BED9ABA6@lepiller.eu> <546032bd-52fa-9970-9de9-f936e4a046df@posteo.de> Message-ID: <60426FD7-4AB0-4362-A89E-CEB6F14A7059@lepiller.eu> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8208::1 (failed) Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644947123; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KpSezFlMn3rpLQJH/ypQPfcLg6ioCPmg2BgeaPfSDHo=; b=ULDzglfMDPVwkh+YsTD86WofKaHfZilPTeXNeJ1AEi1Q1xStzDDwxkUuvHOQgGGcQef1zo HyNxiHhrXoqQVlKhqDO7uWrgrBT9GxyCpQPmDZr18R7eqUMGQRrc3S8kzbcYQbUrzFPS4p uwuFZ/g5WAFLzqV4ufmHdBEepdSSIz7LTj/skZ34FR8SQs2mIX//hDFPF6b99evisN6vTZ CvaPMnJCe9r+FmkcT5w0CHbsIoc8sCce5ofFATHYQy87vi26Pw/OXVH/BfoybamSAaUR5s elDomCIBRSRhjMqMiVtwyjJ/3WQvTbScKLtOJa3BzEhiH97ycsrcRAxJIjnzuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644947123; a=rsa-sha256; cv=none; b=cBAu1v0fAt4dzendnyOBJvORSWu3Qnv++LVcW1rAZlAhmPRzJMPowVy1gIzhmZn0PiaRQc 8RX/FhOmgKxN8dynKSrQ9rBf28ZGAA1aE4nXRIQmLn/sGu5eJmzg0DINZyK8DA1mQ+tmIN 81dUYp5AzbVYS0qgffoshUl349xBROQ33g0onflxyReDl7qeFTI7eTg2mhA4sOpe/Zc9hO lcjbOg6dCDVZqqa2qKSx6XxvnImauzTJz0oBNvrQC51I4hwaW2Oi1x5xFP8prEMOkXDk2o vj10VlIZj62uYlhyfE+47jwze/gHkmg9EHH5i8Yptj3MVmRLZVYzGnoXfdXB+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=NnyVSQ7C; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=NnyVSQ7C; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 47DA444754 X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: BMj3y/o5iug5 Hi, I'm sorry if my answer was confusing=2E Do not modify the use-service-modu= les form=2E Instead, insert the snippet I gave you at the same position as = the other (service =E2=80=A6) forms, for instance right below (service enl= ightenment-desktop-service-type) On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried wrote: >Hi, > >I changed my > >/etc/config=2Escm file,to: >;; This is an operating system configuration generated >;; by the graphical installer=2E > >(use-modules (gnu)) >(use-service-modules desktop networking ssh xorg*cups-service-type)****(c= ups-configuration****(web-interface? #t)****(extensions list cups-filters h= plip)))*** >(operating-system > (locale "de_DE=2Eutf8") > (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 openssh-service-type) > (service tor-service-type) > (set-xorg-configuration > (xorg-configuration > (keyboard-layout keyboard-layout)))) > %desktop-services)) > =09 > (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))) > > >*The answer was:* > >/etc/config=2Escm:5:0: Fehler: module (gnu services cups-service-type) no= t=20 >found Hinweis: Der Befehl `guix system search cups-service-type' sucht=20 >nach einem zu `cups-service-type' passenden Dienst=2E Wenn Sie eine=20 >Ausgabe wie `location: gnu/services/foo=2Escm:188:2' sehen, f=C3=BCgen Si= e=20 >`foo' in Ihre `use-service-modules'-Form ein=2E > >Gottfried > >Am 15=2E02=2E22 um 17:54 schrieb Julien Lepiller: >> Your service specification is not at the right place, and incorrect=2E= =20 >> You have to be careful with parenthesis, as they define the structure= =20 >> of things (similar to braces in other programming languages)=2E >> >> The service specification needs to be inside the list, at the same=20 >> level as all these (service =E2=80=A6) forms=2E In the same way, you de= clare a=20 >> service with (service foo-service-type ), and the=20 >> configuration is usually a record, so it has parenthesis too=2E >> >> For records, you do: >> >> ( >> ( ) >> =E2=80=A6) >> >> With as many fields as you want, as long as they exist=2E In your=20 >> config, guix found (cups-service-type) at the same level as other=20 >> fields of the operating-system, but operating-system doesn't support=20 >> such a field directly, and the field does not have a value=2E >> >> Overall, try something like this, at the same parenthetical level as=20 >> the other (service =E2=80=A6) forms=2E >> >> (service cups-service-type) >> (cups-configuration >> (web-interface? #t) >> (extensions list cups-filters hplip))) >> >> HTH! >> >> >> On February 15, 2022 5:45:34 PM GMT+01:00, Gottfried=20 >> wrote: >> >> Hi, >> >> I tried to adjust my /etc/config=2Escm file, but I made some mistak= e=2E >> >> Could anybody help me please? >> >> here the file: (my changes are in bold letters) >> >> (I have installed cups, cups-filters, hplip in my guix system) >> >> >> ;; This is an operating system configuration generated >> >> ;; by the graphical installer=2E >> >> (use-modules (gnu)) >> (use-service-modules desktop networking ssh xorg *cups*) >> >> (operating-system >> =C2=A0 (locale "de_DE=2Eutf8") >> =C2=A0 (timezone "Europe/Berlin") >> =C2=A0 (keyboard-layout (keyboard-layout "de")) >> =C2=A0 (host-name "Tuxedo") >> =C2=A0 (users (cons* (user-account >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (name "gfp") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (comment "Gfp") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (group "users") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-directory "/home/gfp") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (supplementary-groups >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 '("wheel" "netdev" "aud= io" "video"))) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 %base-user-accounts)) >> =C2=A0 (packages >> =C2=A0=C2=A0=C2=A0 (append >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list (specification->package "awe= some") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (specification->package "nss-certs")) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %base-packages)) >> =C2=A0 (services >> =C2=A0=C2=A0=C2=A0 (append >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list (service mate-desktop-servic= e-type) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (service enlightenment-desktop-service-type) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (service openssh-service-type) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (service tor-service-type) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (set-xorg-configuration >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 (xorg-configuration >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (keyboard-layout keyboard-layout)))) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %desktop-services)) >> *(cups-service-type)** >> **=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (cups-co= nfiguration** >> **=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (web-int= erface? #t** >> **=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (extensi= ons list cups-filters hplip))))* >> =C2=A0 (bootloader >> =C2=A0=C2=A0=C2=A0 (bootloader-configuration >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (bootloader grub-efi-bootloader) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (target "/boot/efi") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (keyboard-layout keyboard-layout))= ) >> =C2=A0 (swap-devices >> =C2=A0=C2=A0=C2=A0 (list (uuid "51d5cd20-4513-4a02-9e35-df4338ecc= aa0"))) >> =C2=A0 (file-systems >> =C2=A0=C2=A0=C2=A0 (cons* (file-system >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (mount-point "/boot/efi") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (device (uuid "BB77-FE3B" 'fat32)) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (type "vfat")) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (fil= e-system >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (mount-point "/") >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (device >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (uuid "4fb0ed7c-61ab-45eb-be0b-ff527b320e6d" >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'ext4)) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (type "ext4")) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %bas= e-file-systems))) >> >> >> After running: sudo guix system reconfigure /etc/config=2Escm >> >> it said: >> >> 35:16: Fehler: (cups-service-type): invalid field specifier >> Fehler(german word means mistake) >> >> What do I have to change? >> >> >> Gottfried >>