prevent automatic suspend

This commit is contained in:
Yan Lin 2025-10-24 09:45:15 +02:00
parent cd2df72167
commit 671c558473

View file

@ -121,6 +121,15 @@
yelp # help viewer
];
# Prevent automatic suspend on AC power (GNOME power settings)
programs.dconf.profiles.user.databases = [{
settings = {
"org/gnome/settings-daemon/plugins/power" = {
sleep-inactive-ac-type = "nothing";
};
};
}];
# XDG portal for proper desktop integration
xdg.portal = {
enable = true;