change to pmutils for suspend
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
nyxt
|
||||
obsidian
|
||||
pavucontrol
|
||||
pmutils
|
||||
qmk
|
||||
qmk-udev-rules
|
||||
rbw
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user