summaryrefslogtreecommitdiff
path: root/system-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-12-06 14:24:13 +0100
committerMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-12-06 14:24:13 +0100
commita256c7bf3e479a5a89a0b57de18599ab59919a53 (patch)
treed02d45c5ebe7b3870598413ddbb5de2bb10bd23b /system-configuration.scm
parentcadd40ad67803750ef9a0011179426f2dae3c7f4 (diff)
Disable auto-suspend
Diffstat (limited to 'system-configuration.scm')
-rw-r--r--system-configuration.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/system-configuration.scm b/system-configuration.scm
index 4af83c1..5a75459 100644
--- a/system-configuration.scm
+++ b/system-configuration.scm
@@ -48,6 +48,11 @@
(control-socket? #t)))
(udev-rules-service 'trezord trezord-udev-rules)
(modify-services %desktop-services
+ (elogind-service-type
+ configuration =>
+ (elogind-configuration
+ (inherit configuration)
+ (handle-lid-switch 'ignore)))
(delete gdm-service-type))))
(bootloader (bootloader-configuration (bootloader grub-bootloader)
(targets '("/dev/sda"))