From: Joshua Branson <jbranso@dismail.de>
To: Reily Siegel <mail@reilysiegel.com>
Cc: help-guix@gnu.org
Subject: Re: Issue configuring upower and elogind on Guix System
Date: Wed, 14 Apr 2021 14:41:55 -0400 [thread overview]
Message-ID: <877dl49098.fsf@dismail.de> (raw)
In-Reply-To: <87v98r5jck.fsf@reilysiegel.com> (Reily Siegel's message of "Mon, 12 Apr 2021 16:38:35 -0400")
Reily Siegel <mail@reilysiegel.com> 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
prev parent reply other threads:[~2021-04-14 18:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 20:38 Issue configuring upower and elogind on Guix System Reily Siegel
2021-04-14 18:41 ` Joshua Branson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dl49098.fsf@dismail.de \
--to=jbranso@dismail.de \
--cc=help-guix@gnu.org \
--cc=mail@reilysiegel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).