From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oFZ/FumNEWKCjwAAgWs5BA (envelope-from ) for ; Sun, 20 Feb 2022 01:40:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8NZMD+mNEWKqJwAAG6o9tA (envelope-from ) for ; Sun, 20 Feb 2022 01:40:09 +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 87450CCC3 for ; Sun, 20 Feb 2022 01:40:06 +0100 (CET) Received: from localhost ([::1]:45350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLaGi-0003Yi-JF for larch@yhetil.org; Sat, 19 Feb 2022 19:40:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLaAk-0003K8-0c for help-guix@gnu.org; Sat, 19 Feb 2022 19:33:54 -0500 Received: from [2607:f8b0:4864:20::244] (port=40489 helo=mail-oi1-x244.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLaAh-0003Dw-RD for help-guix@gnu.org; Sat, 19 Feb 2022 19:33:53 -0500 Received: by mail-oi1-x244.google.com with SMTP id j2so7166757oie.7 for ; Sat, 19 Feb 2022 16:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=4c9A0sCxLtNEV3nHkON4xrwL5gppdjweuBmLcp1IYYw=; b=l7hNfgloUwQcLOH60mdBemBDdc3afk0KUV6f3wRvbDasI8/Zt701kajDz5GYfTUZC0 3vJtO7Iruy+BAWdLe3qeC4XD/Q+x+zgvgDDWtfwdW61zA2STAghS2d8WaonIwo+sQhoq QkBmAAawHk+OfiyZwNw+bUPk6yGswQliuNuCJO+tDDoptuLoi9WxUo8u7u8OVJgq5dp/ JHtouE3QNKekimO9YtcZrLQieG+BZERtFXWqEUYiwoyv8PHzDIWgwEE+e63HljYoHGFp +pVNW7wfSXHYZW81JluoPK8zLDZBBF8crxjM/splyH7588Xf91Hhavjk7tou7GSHPCkB QCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=4c9A0sCxLtNEV3nHkON4xrwL5gppdjweuBmLcp1IYYw=; b=iobk2/A75ETYmRn5GsnaEX86KjiymZnRmgojAA0oo0vkMdJGHkIqGwZ/cdgHK0fuoA fePB8WYIW7eIE4HyRYZqnD3y+aY1JXgB5gpFS4d2x0w+Rv14/LK+YD0dOAhpcPii0OS+ ANLT8O4I/ERR/aGE2A0V4fQUtPLdeMWudlY2eaWrsP6hbujTzoyXA1Vi3Jy2+zzqeTis pou8EEOUQzYlc+JbKCZzE6gXWCJbCBI4ZaKoXFCswBivgsFlW5JKaRFHjdPUN79YpKEM MZBNQ+GsIKx45p+1AsSgSWchDvD9JetJSBBgikPHcIbJHsA8CZvfxZsyHExSqTHU/OpT krEA== X-Gm-Message-State: AOAM531/Qd80hx8kYwR7uITonifsQHzknl3KJAXVsUpJkYzpdciXknV3 MVroigAXwZsdGXouqxXyBiBXObwAfanSxL+1bLYlj/YTCP8oJg== X-Google-Smtp-Source: ABdhPJzjSeJZmthv3EeH2WxqVMAXRLf9g2GikeaTl5iu1f+RCco6k/tXB+Ub2wTJXuR0aFoh+YJgL3K7NRDBVYtDOlg= X-Received: by 2002:aca:1a04:0:b0:2d4:f855:aad1 with SMTP id a4-20020aca1a04000000b002d4f855aad1mr77142oia.63.1645317230026; Sat, 19 Feb 2022 16:33:50 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a8a:c0f:0:0:0:0:0 with HTTP; Sat, 19 Feb 2022 16:33:49 -0800 (PST) From: =?UTF-8?Q?C=C3=A1ssio_Tavares?= Date: Sun, 20 Feb 2022 00:33:49 +0000 Message-ID: Subject: Trouble configuring guix To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::244 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::244; envelope-from=cassio.ufg@gmail.com; helo=mail-oi1-x244.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 19 Feb 2022 19:38:17 -0500 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=1645317606; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4c9A0sCxLtNEV3nHkON4xrwL5gppdjweuBmLcp1IYYw=; b=LYi8hQ5Yw7GSgWSQAcvqsqa9uAS4AsBiZ21MRqJmd9sqevhyonPX3XGOzwUzUfyT4UnkBJ S0udSQB78g5nkqYSBu7pIBMEfNc8t6nkafB8wPraMEzaMjKXM7zlKMVQkL1EHg4Shfiq7A iHtfQBVFQzmtlS9/itl7bik492OhjARZSvshSBN03TY2ePDVtX1CSscg4UDvAXlKzINUG2 Xtn1I3oTg5Dqk0N7M8DPpkkxq1AScVv8gAwankwizKPXAsSeFSPmedwVpu/Dj3qYspltfd E00L2JQM9wRXxweBKxJLqphI/pgTJ/fMmRnzsxrZR4sPe+FPxkXBYHHNGUwrHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645317606; a=rsa-sha256; cv=none; b=m6RRERjfV5CPa12x1yVTsE0POF7JZ2zcvCOiuIw7zcCOVH3awdgIscFoy0DFFyKy7JNa0B p6Jn6/hsDju+qojQI2nHEeQvNiZmlcnZ9M7VpirY7g1wZaG6Xmr8aOiN+9JpLMqIVZJAVX B3GRxagDNr/KEolXFq//RjzA6AlZTn4el9f5mrgvOaxpfp4EYK17XObpakB8fW/vYeaU+a /CFv6X3ZVn9dkPGvOQELpMKJa8lwa9Qpg1Cfw2MzU23Y/i7g+ZAfIT3ML/RWrElBCRPJRB oJ1zoiHK2L66I6FO+kdFUV4jmHnYNA62B0Go3C8IbyzRLcBOl7aw8QnqDPBTmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=l7hNfglo; dmarc=pass (policy=none) header.from=gmail.com; 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: -7.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=l7hNfglo; dmarc=pass (policy=none) header.from=gmail.com; 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: 87450CCC3 X-Spam-Score: -7.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: Zrz0ivnx+vF9 Hello there! Well, I need help... ## 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. So, Guix seems to be the path I'm on now. ## 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. So, without sddm, this works: ``` ... (define %this-keyboard (keyboard-layout "br" "abnt2")) ... (operating-system ... (keyboard-layout %this-keyboard) ... ) ``` But `guix system reconfigure /etc/config.scm` 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)) ... (define %this-keyboard (keyboard-layout "br" "abnt2")) ... (operating-system ... (keyboard-layout %this-keyboard) ... (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)) ... ) ``` Then, when I try to run `guix system reconfigure /etc/config.scm`, I get this backtrace: > root@udu ~# > Backtrace: > 19 (primitive-load "/root/.config/guix/current/bin/guix") > In guix/ui.scm: > 2229:7 18 (run-guix . _) > 2192:10 17 (run-guix-command _ . _) > In ice-9/boot-9.scm: > 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _) > In guix/status.scm: > 829:3 15 (_) > 809:4 14 (call-with-status-report _ _) > In guix/scripts/system.scm: > 1256:4 13 (_) > In ice-9/boot-9.scm: > 1752:10 12 (with-exception-handler _ _ #:unwind? _ # _) > In guix/store.scm: > 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.scm: > 827:2 8 (_ _) > 703:8 7 (_ #) > In gnu/system.scm: > 1227:19 6 (operating-system-derivation _) > 748:11 5 (operating-system-services #< kernel:=E2= =80=A6>) > 782:20 4 (services _) > In /etc/config.scm: > 185:14 3 (services #< kernel: #) > 185:14 2 (services #< name: "br" variant: "abnt=E2= =80=A6>) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm: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. * And in this setup, the keyboard works on the console, just not on the desktop environment. Best regards, And thank you. Cassio