disable hybernation in ymir

This commit is contained in:
Osman Faruk Bayram 2024-12-03 00:02:22 +03:00
parent 6365c99be2
commit 53a8737f12

View file

@ -102,6 +102,28 @@
#media-session.enable = true;
};
systemd = {
targets = {
sleep = {
enable = false;
unitConfig.DefaultDependencies = "no";
};
suspend = {
enable = false;
unitConfig.DefaultDependencies = "no";
};
hibernate = {
enable = false;
unitConfig.DefaultDependencies = "no";
};
"hybrid-sleep" = {
enable = false;
unitConfig.DefaultDependencies = "no";
};
};
};
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;