change to pmutils for suspend
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
nyxt
|
nyxt
|
||||||
obsidian
|
obsidian
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
pmutils
|
||||||
qmk
|
qmk
|
||||||
qmk-udev-rules
|
qmk-udev-rules
|
||||||
rbw
|
rbw
|
||||||
|
|||||||
@@ -87,4 +87,16 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="3434", MODE="0660", GR
|
|||||||
enable = true;
|
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