From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id aJWbEZQ3d2C6QgEAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 20:42:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CJyCC5Q3d2DnLAAA1q6Kng (envelope-from ) for ; Wed, 14 Apr 2021 18:42:28 +0000 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 77A7C1702D for ; Wed, 14 Apr 2021 20:42:27 +0200 (CEST) Received: from localhost ([::1]:33816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWkT3-0003Xf-N9 for larch@yhetil.org; Wed, 14 Apr 2021 14:42:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWkSl-0003Wp-PV for help-guix@gnu.org; Wed, 14 Apr 2021 14:42:09 -0400 Received: from mx1.dismail.de ([78.46.223.134]:42968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWkSi-0007Ro-09 for help-guix@gnu.org; Wed, 14 Apr 2021 14:42:07 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id efef8964; Wed, 14 Apr 2021 20:41:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=20190914; bh=krxMBlEkUgvU3IVoo7AASXCx46cZh+9yBl eZq5494vc=; b=VCne57YPq8g2eMMfKhljVGOzyyx5jn9GiusBlfE8N9bqPlDner WtjHdA7kXfiAjTgNkss5doOih/68NtTIiBPfUc+FYUT3MBV5JV2L9xm/68tyXD+J lQvZkuOG61rkx475X/MObm2KVq+1vcZgT6rVa/1jxRjjsE2PYxABKG2tDs3HFS48 xmaM0+jSMQKGsVk4ptLGr5xcETNM02q8HCSi31ttkuwesmXOo1Q2rMI7KOX3Zv8i 6L6tKDoZvTNoJtQ7qYr6VMaEAKBbxI6K8nyNhKtXipltgNvfncKXgAAnVhXY/DLf 77CBmyPVvofs6rOJF3lx/9BZkSVV3ow7f1oA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a1a4d133; Wed, 14 Apr 2021 20:41:59 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 73fb6d96; Wed, 14 Apr 2021 20:41:59 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id dd4f5de4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 14 Apr 2021 20:41:57 +0200 (CEST) From: Joshua Branson To: Reily Siegel Cc: help-guix@gnu.org Subject: Re: Issue configuring upower and elogind on Guix System References: <87v98r5jck.fsf@reilysiegel.com> Mail-Followup-To: Reily Siegel , help-guix@gnu.org Date: Wed, 14 Apr 2021 14:41:55 -0400 In-Reply-To: <87v98r5jck.fsf@reilysiegel.com> (Reily Siegel's message of "Mon, 12 Apr 2021 16:38:35 -0400") Message-ID: <877dl49098.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.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, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618425747; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iNfzk/xMKJhjKhsaP0C9ltQ5je/NR4zlNqw9tPfWy1A=; b=s3fsBzBq08RB53GF1XlI7GNUuI4STailUI5ZXr3bTyf2pSwWt/HkQiMstCgMPZ1/5pBvEj SSacmbVLd6dboEPRcbO6pHKvuR0POI0RK3AJ1SPAIbD9EVZ57wfjC1okUFYm6S2E1W33DU 77pEYforpVWOEsb511UVTnVpQuChH0VhrOQGOJGa+MyKNJXXTlvuYa2DzkQtlP2d2vwbmg khC8VgyK5yi4f95Rmxtt2UJ4TuajtadcMZIEr9O4Pyf5Tc1beEeGuGXLP9/PrxZrN4j2k9 y23N3Sz55U8wx66U3z1FuMof5NOSHxhkFpJ47WiRpNcIBKKgX8SIfpaulNABPw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618425747; a=rsa-sha256; cv=none; b=OjDmA/huxoEoIa4Mo4SciTeXigj352LhSq0MwtnYTESNP2JZwvf24uKIbNo42vvvrWRLck YolrT2BqFTEsrwtK4+ENifQffbKT0uVFvdeSdw8ypxt2eElvG1Xf2lMzylMoDAvHw1BxQ2 +WTjBJRmrAxjCgQuQQMuzbsOZd7qRjOsrV8+qtYoRyrv/JU4HcWYmtrvRmoBuk2XbRyJNK OL3eq8h/s2sbnJnJvICZH0tF+qf4e/u1s2cfc7CkyoSMJT/Rb1Go6ba+QYpWhrDFtyZ1Xo QmAZSyBQqkrfud6Sb+wq/Oar2GNqQk54j0eHJ7Wdids4A9fi/M4GRO9xQ0NT+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=VCne57YP; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=VCne57YP; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 77A7C1702D X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: UfWwk7MogsNC Reily Siegel writes: > Hello, Im having a bit of trouble configuring elogind and upower on my > laptop that is running guix system. The system reconfigures fine, but > it > doesnt seem like the configuration takes effect with regard to idle > time > (from elogind) and auto power off (from upower). The issue persists > after multiple reboots.My configuration is available here: > https://pastebin.com/rLkYj1tN. Is there anything obvious I am missing? > Hmmm. Are using using %desktop-services? Or are you manually specifiying only the services you need? I know that I tried to use only the specific services that I wanted, and that failed... I have an easier time just providing a custom %my-desktop-services like this: (define %my-desktop-services (modify-services (remove (lambda (service) (member (service-kind service) (list avahi-service-type bluetooth-service gdm-service-type geoclue-service ;; I customize my pulseaudio-service down below, ;; so I need to remove it here. pulseaudio-service-type ))) %desktop-services) ;;end of remove services (guix-service-type config => (guix-configuration (inherit config) (max-silent-time %15-minutes) (extra-options '("--max-jobs=2")) )) (network-manager-service-type config => (network-manager-configuration (inherit config) ;;(dns "none") ;;DO NOT update resolve.conf (vpn-plugins (list network-manager-openvpn)) )) (mingetty-service-type config => (mingetty-configuration (inherit config) ;;auto login as joshua (auto-login "joshua"))))) (services (cons* ... %my-desktop-services)) -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar