prevent automatic suspend
This commit is contained in:
parent
cd2df72167
commit
671c558473
1 changed files with 9 additions and 0 deletions
|
|
@ -121,6 +121,15 @@
|
||||||
yelp # help viewer
|
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 for proper desktop integration
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue