change to pmutils for suspend

This commit is contained in:
2025-11-24 13:40:35 -08:00
parent bc3cbd8d96
commit a54f5b8874
2 changed files with 13 additions and 0 deletions

View File

@@ -45,6 +45,7 @@
nyxt
obsidian
pavucontrol
pmutils
qmk
qmk-udev-rules
rbw

View File

@@ -87,4 +87,16 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", MODE="0660", GR
enable = true;
};
};
systemd.services."systemd-suspend" = {
description = "System Suspend with pm-suspend";
serviceConfig = {
Type = "oneshot";
Environment = "PATH=${pkgs.pmutils}/bin";
ExecStart = [
""
"${pkgs.pmutils}/bin/pm-suspend"
];
};
};
}