fix: systemd unfreeze, remove intel

This commit is contained in:
Florian Schmitt 2025-01-07 14:18:17 +03:00
parent 7de1374c57
commit 3e43aed875
6 changed files with 23 additions and 5 deletions

View file

@ -0,0 +1,15 @@
# Workaround for disabling semi-broken systemd user slice freezing (whatever
# that is). This can cause machines to become unusable after resume.
let
override.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
in
{
systemd.services = {
systemd-suspend = override;
systemd-hibernate = override;
systemd-hybrid-sleep = override;
systemd-suspend-then-hibernate = override;
};
}