[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue configuring upower and elogind on Guix System
From: |
Joshua Branson |
Subject: |
Re: Issue configuring upower and elogind on Guix System |
Date: |
Wed, 14 Apr 2021 14:41:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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