* Issue configuring upower and elogind on Guix System
@ 2021-04-12 20:38 Reily Siegel
2021-04-14 18:41 ` Joshua Branson
0 siblings, 1 reply; 2+ messages in thread
From: Reily Siegel @ 2021-04-12 20:38 UTC (permalink / raw)
To: help-guix
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?
Thank you in advance,
Reily Siegel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issue configuring upower and elogind on Guix System
2021-04-12 20:38 Issue configuring upower and elogind on Guix System Reily Siegel
@ 2021-04-14 18:41 ` Joshua Branson
0 siblings, 0 replies; 2+ messages in thread
From: Joshua Branson @ 2021-04-14 18:41 UTC (permalink / raw)
To: Reily Siegel; +Cc: help-guix
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-14 18:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 20:38 Issue configuring upower and elogind on Guix System Reily Siegel
2021-04-14 18:41 ` Joshua Branson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.