From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 yMjsE//sEWKydwEAgWs5BA (envelope-from ) for ; Sun, 20 Feb 2022 08:25:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wDgyEf/sEWJRcAAA9RJhRA (envelope-from ) for ; Sun, 20 Feb 2022 08:25:51 +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 AF43D140E4 for ; Sun, 20 Feb 2022 08:25:50 +0100 (CET) Received: from localhost ([::1]:49982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLgbM-0005rE-9e for larch@yhetil.org; Sun, 20 Feb 2022 02:25:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLgaU-0005qn-1x for help-guix@gnu.org; Sun, 20 Feb 2022 02:24:55 -0500 Received: from [2a00:5884:8208::1] (port=41702 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 1nLgaM-00060U-Ld for help-guix@gnu.org; Sun, 20 Feb 2022 02:24:49 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ccc4caa9; Sun, 20 Feb 2022 07:24:38 +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=s8a0P50Djlhf OG1K1aTqyWiciq1CiirRm4o9O2mj8ak=; b=X7NdbixTu2QEFxN7XSvY8lLOZq28 BEIRXd/w3ZQVzEWy9pW62kqKR1lAggIs+qzgBe7hUWGQCSg/jYoGZvYb/70YDe7x L08YMbxHZxOOheDqrX4/1/e8U65c9R9nkEplOaBUPwhudugA4rKZjRoBPlqHRKdW srELrCFRQjr3AYuyn9vqk6B/75wSMaAQmSDbtB+p5bGbW70r0gYph9w2U5YmYcH4 rqNPc8QM/ixCX6s6qInxFWRNl4TriH7qHnhWl8dZoQ00vO71hn6Mat7vuJ8ZHr04 wWc0haE0HF/tzB4HjqD04Eccvd0og8KHoLM8spsbDmBy/Nlv43YWLOMD7g== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id cf90bf18 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 20 Feb 2022 07:24:38 +0000 (UTC) Date: Sun, 20 Feb 2022 08:24:30 +0100 From: Julien Lepiller To: help-guix@gnu.org, =?ISO-8859-1?Q?C=E1ssio_Tavares?= Subject: Re: Trouble configuring guix User-Agent: K-9 Mail for Android In-Reply-To: References: Message-ID: 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=1645341951; 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=2GJeVASbJMAKc/4HwvyfPBJdZ4IsRzao1ShwcckXnTs=; b=uUllIeotjfVDOSklswcdBnfNQ+u+SMgTKiBYnWa9SH83uMdgQ5/YIAyGEccaiGHWiNplVP xgpbE26WEn/ivgbTDq6A2zeR8FnXU6NWQIrUMiz9Cp+S4/dr2pdpjgq2KfErPX2lVuMU1q C8QRrBXXOggz5y11KuKz/qDFi98ccVrjVaCLGcruqNBbiqHIauDTAxdtQLrfDaFjWru3XU zSXspXhlUFcJpPZrjUuJ3kZLLPL7GGRovjBPfGk+dB62sITplBeC/HjbQy1oJCCL8iEMOc kd+nMyz1DbvOC4H8nov7C0QfbB1iR+TAImJO6g2nVNSyN2W0OfZC2GixvVtb7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645341951; a=rsa-sha256; cv=none; b=Ry8ofRDRagkKomYbwco7Ru58jrBoYTZHfnKz1/LshFWcNEsbHCgtLGYiIKdbbTfunvv+RW CkORKfjAjIM8E0QBvRlWbJFq7DD8ZA3/sUBJRp8zsckW1ldHONVksnJl5Bp8xhR1f85eIh S3ZhF2x5QDDGmDtjxcoSwZSk9dFgi2+94o11Zbmkke2svujSFLc4oa5SnKxh5dOwwgGv93 8Q9Zi1ZGWXEEdmqia2xSA9MbrGQlQM3Ss6oHAH9vamzinwaOOw+7cLuXd/4IEaUNwnQOcv zcRY8EYZD2tGZcOoygS0+hr+Ri8MwitrWhaszLZ0tTPvQA2LGNAJLXD2fDuJ7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=X7NdbixT; 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.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=X7NdbixT; 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: AF43D140E4 X-Spam-Score: -2.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: gk9uA1TJ0Nft Looking at the manual, I tgink this is the issue=2E sddm-configuration is a= record type that has a field called xorg-configuration=2E This field expec= ts a record of type xorg-configuration, but you pass it a keyboard configur= ation instead=2E I think this is what you need to do: (sddm-configuration =E2=80=A6 (xorg-configuration (xorg-configuration (keyboard-layout %this-keyboard)))) HTH! On February 20, 2022 1:33:49 AM GMT+01:00, "C=C3=A1ssio Tavares" wrote: >Hello there! > >Well, I need help=2E=2E=2E > >## Context: > > * I have just a little familiarity with Guile Scheme, because I'm a > LilyPond user; > * I finally have a desktop that doesn't need non-libre drivers; > * Although I'm not in the Tech world, I love GNU's (and the FSF's) > philosophy; > * I have been playing with Nix, but find it very cryptic -- not easy > to understand at all=2E > > So, Guix seems to be the path I'm on now=2E > >## Situation: > > I have several problems to fix, but the most important right now is > to get my keyboard to work with sddm, and I need sddm for > Wayland=2E So, without sddm, this works: > >``` > =2E=2E=2E > > (define %this-keyboard (keyboard-layout "br" "abnt2")) > > =2E=2E=2E > > (operating-system > =2E=2E=2E > > (keyboard-layout %this-keyboard) > > =2E=2E=2E ) > >``` > > But `guix system reconfigure /etc/config=2Escm` fails when this is this= : > >``` > (use-modules > (gnu) > (gnu system nss) > (gnu services networking) > (gnu services sddm) > (gnu services cups) > (gnu services desktop) > (gnu services ssh) > (gnu services xorg)) > > =2E=2E=2E > > (define %this-keyboard (keyboard-layout "br" "abnt2")) > > =2E=2E=2E > > (operating-system > =2E=2E=2E > > (keyboard-layout %this-keyboard) > > =2E=2E=2E > > (services > (append > (list > (service dhcp-client-service-type) > (service ntp-service-type) > (service gpm-service-type) > (service cups-service-type) > (service elogind-service-type) > (service sddm-service-type > (sddm-configuration > (display-server "wayland") > (numlock "on") > (theme "guix-simplyblack-sddm-theme") > (xorg-configuration > (keyboard-layout %this-keyboard))))) > %base-services)) > > =2E=2E=2E ) > >``` > > Then, when I try to run `guix system reconfigure /etc/config=2Escm`, I > get this backtrace: > >> root@udu ~# > > Backtrace: > > 19 (primitive-load "/root/=2Econfig/guix/current/bin/guix") > > In guix/ui=2Escm: > > 2229:7 18 (run-guix =2E _) > > 2192:10 17 (run-guix-command _ =2E _) > > In ice-9/boot-9=2Escm: > > 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _) > > In guix/status=2Escm: > > 829:3 15 (_) > > 809:4 14 (call-with-status-report _ _) > > In guix/scripts/system=2Escm: > > 1256:4 13 (_) > > In ice-9/boot-9=2Escm: > > 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) > > In guix/store=2Escm: > > 658:37 11 (thunk) > > 1320:8 10 (call-with-build-handler # =E2=80=A6) > > 2129:25 9 (run-with-store # =E2=80=A6) > > In guix/scripts/system=2Escm: > > 827:2 8 (_ _) > > 703:8 7 (_ #) > > In gnu/system=2Escm: > > 1227:19 6 (operating-system-derivation _) > > 748:11 5 (operating-system-services #< kernel:= =E2=80=A6>) > > 782:20 4 (services _) > > In /etc/config=2Escm: > > 185:14 3 (services #< kernel: #) > > 185:14 2 (services #< name: "br" variant: "abnt= =E2=80=A6>) > > In ice-9/boot-9=2Escm: > > 1685:16 1 (raise-exception _ #:continuable? _) > > 1685:16 0 (raise-exception _ #:continuable? _) > > > > ice-9/boot-9=2Escm:1685:16: In procedure raise-exception: > > Wrong type to apply: #< name: "br" variant: >"abnt2" model: #f options: ()> > >## Conclusion: > > Two things tell me that the problem is really in the keyboard > configuration within the configuration of the sddm service: > > * When I remove the `xorg-configuration` from the `sddm-configuration`, > the reconfiguration returns no error, and the sddm service works > normally=2E > * And in this setup, the keyboard works on the console, just not on the > desktop environment=2E > >Best regards, >And thank you=2E > >Cassio >