From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kGY2MiPxC2L9WgEAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 19:29:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SFgRKyPxC2LYLgEAG6o9tA (envelope-from ) for ; Tue, 15 Feb 2022 19:29:55 +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 5E6EA459C4 for ; Tue, 15 Feb 2022 19:29:54 +0100 (CET) Received: from localhost ([::1]:49450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK2aH-0005Ab-Eb for larch@yhetil.org; Tue, 15 Feb 2022 13:29:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK2Zu-00057M-7i for help-guix@gnu.org; Tue, 15 Feb 2022 13:29:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:44443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK2Zp-0005TY-HQ for help-guix@gnu.org; Tue, 15 Feb 2022 13:29:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D2246240026 for ; Tue, 15 Feb 2022 19:29:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1644949761; bh=8RpKaVwZ2ap0HMQABZ9wmkmWnXmcyE3HKMnDSg7/sVM=; h=Date:Subject:To:From:From; b=ke7qy+zhDx35gWtYw1qFsgDfdwfQ8zgUbnzA7Kgnl09HWYqyKw9yndNRkZ68ci8DM Hkn2QzuOyDlk8ASUds9QrC4ooPiehe5d4i7UzTKyTL23xT396EZcGHJi4KgEp8s9OQ XE640vD7bxj9YDDO6ez06FpXBLfeSZ5SYg4yj6ldqDw+ySpGh7HbErHn9IKBjqJB5g rFtTFQqPROFSNnIyhw3yy+gmk3tyuaTqcF4APzEEHUmZcEaL7VY+WL7zKbZelnPE+i J+TtOSpFPsLeQv+mBmvzZnQR7/wVJ7v7SuPhWwI624NR/aINOmw4+6SOiw5QZP7BL2 6CrgIvT00+hqg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JyqPC6ZRCz9rxR; Tue, 15 Feb 2022 19:29:19 +0100 (CET) Message-ID: Date: Tue, 15 Feb 2022 18:29:19 +0000 MIME-Version: 1.0 Subject: Re: install a Printer Content-Language: de-DE To: Julien Lepiller , help-guix@gnu.org References: <07dd192a-c66e-ab47-891c-7111c4bd7b12@posteo.de> <9930FFD6-CE4A-4D1F-9377-A5D9BED9ABA6@lepiller.eu> <546032bd-52fa-9970-9de9-f936e4a046df@posteo.de> <60426FD7-4AB0-4362-A89E-CEB6F14A7059@lepiller.eu> From: Gottfried In-Reply-To: <60426FD7-4AB0-4362-A89E-CEB6F14A7059@lepiller.eu> Received-SPF: pass client-ip=185.67.36.65; envelope-from=gottfried@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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=1644949795; 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=bU6pJbK91RsWWvE641HZ3LbyT1EAV7dJdWEEktIABJs=; b=Lpz5Gq495IE9SYWBl9PbOaoUMuUKlQ+x32kgzyN10sEn3NW6q00EX70E8JDY4nJTOtlpia 86mKwH7R0TrWH5VL4Jk8DW3OaL7Yu/AKXx0cUAwny2x6QVSbdd2LLxI5PNQyeWx1of8TZi IdyQN14kNQYjQMkf0kgSBK5aANsVwdhYvkSLQmeTp5XBA7z/WDQ4WlUVv4pbiZYgkkEiOA +r4UKO2AE6G8PkhEwZnQY1f0sGIZUVSfyANOXcCrVJs7oc164PIuh2XUXaV8YtHXU2Mfi5 IxdwhAt0Yt4WY2SRLe0n7jLyBUHcevt78XQlS/YqZeWKkD8g4w1q4mWTqSe9Xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644949795; a=rsa-sha256; cv=none; b=l9c01vrfWcWqLV8Z9VBv0SPMk5qrMGseObNZKm/jrwE2b0QURZH8EYWchw6uoq0IuBXB3w E4IKV9J9QOov1E+zdYXDEM873jzSQ4GUUolcmIiIyEFFgL5LzbGDUPdbTyMNBpB6mXTUC5 NWkqhmzQdcM2OrYmn/obky5Y3lsdBuwsUfcFxCycnSY7zYRYzQgLCpXCgiV1ciJDgJvB8x 0r3K0Bg20mlMBSJUxC5zb3lSJHw6XhonjTUvv1/4M/Ddo9+ja660Plf8eRcpXT3qMTGY0e NusSRGhn1D4YmF+s/xSW+KNeNw2Hsvc4kOkBmzuYvuaOc/2RXienY9GTjaoayQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=ke7qy+zh; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (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.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=ke7qy+zh; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (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: 5E6EA459C4 X-Spam-Score: -2.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 44jndV/6gbcl Hi, I did this: ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-service-modules 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) *(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))))       %desktop-services))   (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))) *Answer was:* */etc/config.scm:25:2: Fehler: (services (append (list (service mate-desktop-service-type) (service enlightenment-desktop-service-type) (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)))): invalid field specifier *  Gottfried Am 15.02.22 um 18:44 schrieb Julien Lepiller: > Hi, > > I'm sorry if my answer was confusing. Do not modify the > use-service-modules form. Instead, insert the snippet I gave you at > the same position as the other (service …) forms, for instance right > below (service enlightenment-desktop-service-type) > > On February 15, 2022 6:31:46 PM GMT+01:00, Gottfried > wrote: > > Hi, > > I changed my > > /etc/config.scm file,to: > ;; This is an operating system configuration generated > ;; by the graphical installer. > > (use-modules (gnu)) > (use-service-modules desktop networking ssh xorg*cups-service-type)****(cups-configuration****(web-interface? #t)****(extensions list cups-filters hplip)))*** > (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 openssh-service-type) > (service tor-service-type) > (set-xorg-configuration > (xorg-configuration > (keyboard-layout keyboard-layout)))) > %desktop-services)) > > (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.scm:5:0: Fehler: module (gnu services > cups-service-type) not found Hinweis: Der Befehl `guix system > search cups-service-type' sucht nach einem zu `cups-service-type' > passenden Dienst. Wenn Sie eine Ausgabe wie `location: > gnu/services/foo.scm:188:2' sehen, fügen Sie `foo' in Ihre > `use-service-modules'-Form ein. > > Gottfried > > Am 15.02.22 um 17:54 schrieb Julien Lepiller: >> Your service specification is not at the right place, and >> incorrect. You have to be careful with parenthesis, as they >> define the structure of things (similar to braces in other >> programming languages). >> >> The service specification needs to be inside the list, at the >> same level as all these (service …) forms. In the same way, you >> declare a service with (service foo-service-type >> ), and the configuration is usually a record, so >> it has parenthesis too. >> >> For records, you do: >> >> ( >> ( ) >> …) >> >> With as many fields as you want, as long as they exist. In your >> config, guix found (cups-service-type) at the same level as other >> fields of the operating-system, but operating-system doesn't >> support such a field directly, and the field does not have a value. >> >> Overall, try something like this, at the same parenthetical level >> as the other (service …) forms. >> >> (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 >> wrote: >> >> Hi, >> >> I tried to adjust my /etc/config.scm file, but I made some mistake. >> >> 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. >> >> (use-modules (gnu)) >> (use-service-modules desktop networking ssh xorg *cups*) >> >> (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 openssh-service-type) >>             (service tor-service-type) >>             (set-xorg-configuration >>               (xorg-configuration >>                 (keyboard-layout keyboard-layout)))) >>       %desktop-services)) >> *(cups-service-type)** >> **            (cups-configuration** >> **            (web-interface? #t** >> **            (extensions list cups-filters hplip))))* >>   (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))) >> >> >> After running: sudo guix system reconfigure /etc/config.scm >> >> it said: >> >> 35:16: Fehler: (cups-service-type): invalid field specifier >> Fehler(german word means mistake) >> >> What do I have to change? >> >> >> Gottfried >>